        <!DOCTYPE html>
        <html>
        <head>
                <meta charset="utf-8">
        <title>vec3 class / vector_math Library / Dart Documentation</title>
        <link rel="stylesheet" type="text/css"
            href="../styles.css">
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800" rel="stylesheet" type="text/css">
        <link rel="shortcut icon" href="../favicon.ico">
        
        </head>
        <body data-library="vector_math" data-type="vec3">
        <div class="page">
        <div class="header">
          <a href="../index.html"><div class="logo"></div></a>
          <a href="../index.html">Dart Documentation</a>
         &rsaquo; <a href="../vector_math.html">vector_math</a> &rsaquo; <a href="../vector_math/vec3.html">vec3</a>        <div id="search-box">
          <input type="search" name="q" id="q" autocomplete="off"
              class="search-input" placeholder="Search API">
        </div>
        
      </div>
      <div class="drop-down" id="drop-down"></div>
      
        <div class="nav">
        
</div>
<div class="content">
        <h2><strong>vec3</strong>
          class
        </h2>
        
<button id="show-inherited" class="show-inherited">Hide inherited</button>
<div class="doc">
<pre class="source">
class vec3 {
 double x;
 double y;
 double z;
 /// Constructs a new [vec3]. Follows GLSL constructor syntax so many combinations are possible
 vec3([dynamic x_, dynamic y_, dynamic z_]) {
   x = y = z = 0.0;
   if (x_ is vec2 &amp;&amp; y_ is num) {
     this.xy = x_.xy;
     this.z = y_.toDouble();
     return;
   }
   if (x_ is num &amp;&amp; y_ is vec2) {
     this.x = x_.toDouble();
     this.yz = y_.xy;
     return;
   }
   if (x_ is vec2 &amp;&amp; y_ == null) {
     this.xy = x_.xy;
     this.z = 0.0;
     return;
   }
   if (x_ is vec3) {
     xyz = x_.xyz;
     return;
   }
   if (x_ is num &amp;&amp; y_ is num &amp;&amp; z_ is num) {
     x = x_.toDouble();
     y = y_.toDouble();
     z = z_.toDouble();
     return;
   }
   if (x_ is num) {
     x = y = z = x_.toDouble();
     return;
   }
 }
 /// Constructs a new [vec3] zero vector.
 vec3.zero() { makeZero(); }
 /// Make [this] the zero vector.
 vec3 makeZero() {
   x = 0.0;
   y = 0.0;
   z = 0.0;
   return this;
 }
 /// Constructs a copy of [other].
 vec3.copy(vec3 other) {
   makeCopy(other);
 }
 /// Make [this] a copy of [other] [other].
 vec3 makeCopy(vec3 other) {
   x = other.x;
   y = other.y;
   z = other.z;
   return this;
 }
 /// Constructs a new [vec3] that is initialized with passed in values.
 vec3.raw(num x_, num y_, num z_) {
   makeRaw(x_, y_, z_);
 }
 /// Components of [this] are set to the passed in values.
 vec3 makeRaw(num x_, num y_, num z_) {
   x = x_.toDouble();
   y = y_.toDouble();
   z = z_.toDouble();
   return this;
 }
 /// Constructs a new [vec3] that is initialized with values from [array] starting at [offset].
 vec3.array(List&lt;num&gt; array, [int offset=0]) {
   int i = offset;
   x = array[i].toDouble();
   i++;
   y = array[i].toDouble();
   i++;
   z = array[i].toDouble();
   i++;
 }
 /// Splats a scalar into all lanes of the vector.
 vec3 splat(num arg) {
   double a = arg.toDouble();
   x = a;
   y = a;
   z = a;
   return this;
 }
 /// Returns a printable string
 String toString() =&gt; '$x,$y,$z';
 /// Returns a new vec3 from -this
 vec3 operator-() =&gt; new vec3.raw(-x, -y, -z);
 /// Returns a new vec3 from this - [other]
 vec3 operator-(vec3 other) =&gt; new vec3.raw(x - other.x, y - other.y, z - other.z);
 /// Returns a new vec3 from this + [other]
 vec3 operator+(vec3 other) =&gt; new vec3.raw(x + other.x, y + other.y, z + other.z);
 /// Returns a new vec3 divided by [other]
 vec3 operator/(dynamic other) {
   if (other is num) {
     var o = 1.0 / other.toDouble();
     return new vec3.raw(x * o, y * o, z * o);
   }
   if (other is vec3) {
     return new vec3.raw(x / other.x, y / other.y, z / other.z);
   }
 }
 /// Returns a new vec3 scaled by [other]
 vec3 operator*(dynamic other) {
   if (other is num) {
     var o = other.toDouble();
     return new vec3.raw(x * o, y * o, z * o);
   }
   if (other is vec3) {
     return new vec3.raw(x * other.x, y * other.y, z * other.z);
   }
 }
 /// Returns a component from vec3. This is indexed as an array with [i]
 double operator[](int i) {
   assert(i &gt;= 0 &amp;&amp; i &lt; 3);
   switch (i) {
     case 0: return x;
     case 1: return y;
     case 2: return z;
   };
   return 0.0;
 }
 /// Assigns a component in vec3 the value in [v]. This is indexed as an array with [i]
 void operator[]=(int i, double v) {
   assert(i &gt;= 0 &amp;&amp; i &lt; 3);
   switch (i) {
     case 0: x = v; break;
     case 1: y = v; break;
     case 2: z = v; break;
   };
 }
 /// Returns length of this
 double get length {
   double sum = 0.0;
   sum += (x * x);
   sum += (y * y);
   sum += (z * z);
   return Math.sqrt(sum);
 }
 /// Returns squared length of this
 double get length2 {
   double sum = 0.0;
   sum += (x * x);
   sum += (y * y);
   sum += (z * z);
   return sum;
 }
 /// Normalizes [this]. Returns [this].
 vec3 normalize() {
   double l = length;
   if (l == 0.0) {
     return this;
   }
   x /= l;
   y /= l;
   z /= l;
   return this;
 }
 /// Normalizes [this]. Returns length.
 double normalizeLength() {
   double l = length;
   if (l == 0.0) {
     return 0.0;
   }
   x /= l;
   y /= l;
   z /= l;
   return l;
 }
 /// Normalizes [this] returns new vector or optional [out]
 vec3 normalized([vec3 out = null]) {
   if (out == null) {
     out = new vec3.raw(x, y, z);
   }
   double l = out.length;
   if (l == 0.0) {
     return out;
   }
   out.x /= l;
   out.y /= l;
   out.z /= l;
   return out;
 }
 /// Returns the dot product of [this] and [other]
 double dot(vec3 other) {
   double sum = 0.0;
   sum += (x * other.x);
   sum += (y * other.y);
   sum += (z * other.z);
   return sum;
 }
 /// Returns the cross product of [this] and [other], optionally pass in output storage [out]
 vec3 cross(vec3 other, [vec3 out=null]) {
   if (out == null) {
     out = new vec3.zero();
   }
   out.x = y * other.z - z * other.y;
   out.y = z * other.x - x * other.z;
   out.z = x * other.y - y * other.x;
   return out;
 }
 /// Returns the relative error between [this] and [correct]
 double relativeError(vec3 correct) {
   double correct_norm = correct.length;
   double diff_norm = (this - correct).length;
   return diff_norm/correct_norm;
 }
 /// Returns the absolute error between [this] and [correct]
 double absoluteError(vec3 correct) {
   return (this - correct).length;
 }
 set xy(vec2 arg) {
   x = arg.x;
   y = arg.y;
 }
 set xz(vec2 arg) {
   x = arg.x;
   z = arg.y;
 }
 set yx(vec2 arg) {
   y = arg.x;
   x = arg.y;
 }
 set yz(vec2 arg) {
   y = arg.x;
   z = arg.y;
 }
 set zx(vec2 arg) {
   z = arg.x;
   x = arg.y;
 }
 set zy(vec2 arg) {
   z = arg.x;
   y = arg.y;
 }
 set xyz(vec3 arg) {
   x = arg.x;
   y = arg.y;
   z = arg.z;
 }
 set xzy(vec3 arg) {
   x = arg.x;
   z = arg.y;
   y = arg.z;
 }
 set yxz(vec3 arg) {
   y = arg.x;
   x = arg.y;
   z = arg.z;
 }
 set yzx(vec3 arg) {
   y = arg.x;
   z = arg.y;
   x = arg.z;
 }
 set zxy(vec3 arg) {
   z = arg.x;
   x = arg.y;
   y = arg.z;
 }
 set zyx(vec3 arg) {
   z = arg.x;
   y = arg.y;
   x = arg.z;
 }
 /// Returns true if any component is infinite.
 bool get isInfinite {
   bool is_infinite = false;
   is_infinite = is_infinite || x.isInfinite;
   is_infinite = is_infinite || y.isInfinite;
   is_infinite = is_infinite || z.isInfinite;
   return is_infinite;
 }
 /// Returns true if any component is NaN.
 bool get isNaN {
   bool is_nan = false;
   is_nan = is_nan || x.isNaN;
   is_nan = is_nan || y.isNaN;
   is_nan = is_nan || z.isNaN;
   return is_nan;
 }
 set r(double arg) =&gt; x = arg;
 set g(double arg) =&gt; y = arg;
 set b(double arg) =&gt; z = arg;
 set s(double arg) =&gt; x = arg;
 set t(double arg) =&gt; y = arg;
 set p(double arg) =&gt; z = arg;
 set rg(vec2 arg) {
   r = arg.r;
   g = arg.g;
 }
 set rb(vec2 arg) {
   r = arg.r;
   b = arg.g;
 }
 set gr(vec2 arg) {
   g = arg.r;
   r = arg.g;
 }
 set gb(vec2 arg) {
   g = arg.r;
   b = arg.g;
 }
 set br(vec2 arg) {
   b = arg.r;
   r = arg.g;
 }
 set bg(vec2 arg) {
   b = arg.r;
   g = arg.g;
 }
 set rgb(vec3 arg) {
   r = arg.r;
   g = arg.g;
   b = arg.b;
 }
 set rbg(vec3 arg) {
   r = arg.r;
   b = arg.g;
   g = arg.b;
 }
 set grb(vec3 arg) {
   g = arg.r;
   r = arg.g;
   b = arg.b;
 }
 set gbr(vec3 arg) {
   g = arg.r;
   b = arg.g;
   r = arg.b;
 }
 set brg(vec3 arg) {
   b = arg.r;
   r = arg.g;
   g = arg.b;
 }
 set bgr(vec3 arg) {
   b = arg.r;
   g = arg.g;
   r = arg.b;
 }
 set st(vec2 arg) {
   s = arg.s;
   t = arg.t;
 }
 set sp(vec2 arg) {
   s = arg.s;
   p = arg.t;
 }
 set ts(vec2 arg) {
   t = arg.s;
   s = arg.t;
 }
 set tp(vec2 arg) {
   t = arg.s;
   p = arg.t;
 }
 set ps(vec2 arg) {
   p = arg.s;
   s = arg.t;
 }
 set pt(vec2 arg) {
   p = arg.s;
   t = arg.t;
 }
 set stp(vec3 arg) {
   s = arg.s;
   t = arg.t;
   p = arg.p;
 }
 set spt(vec3 arg) {
   s = arg.s;
   p = arg.t;
   t = arg.p;
 }
 set tsp(vec3 arg) {
   t = arg.s;
   s = arg.t;
   p = arg.p;
 }
 set tps(vec3 arg) {
   t = arg.s;
   p = arg.t;
   s = arg.p;
 }
 set pst(vec3 arg) {
   p = arg.s;
   s = arg.t;
   t = arg.p;
 }
 set pts(vec3 arg) {
   p = arg.s;
   t = arg.t;
   s = arg.p;
 }
 vec2 get xx =&gt; new vec2(x, x);
 vec2 get xy =&gt; new vec2(x, y);
 vec2 get xz =&gt; new vec2(x, z);
 vec2 get yx =&gt; new vec2(y, x);
 vec2 get yy =&gt; new vec2(y, y);
 vec2 get yz =&gt; new vec2(y, z);
 vec2 get zx =&gt; new vec2(z, x);
 vec2 get zy =&gt; new vec2(z, y);
 vec2 get zz =&gt; new vec2(z, z);
 vec3 get xxx =&gt; new vec3(x, x, x);
 vec3 get xxy =&gt; new vec3(x, x, y);
 vec3 get xxz =&gt; new vec3(x, x, z);
 vec3 get xyx =&gt; new vec3(x, y, x);
 vec3 get xyy =&gt; new vec3(x, y, y);
 vec3 get xyz =&gt; new vec3(x, y, z);
 vec3 get xzx =&gt; new vec3(x, z, x);
 vec3 get xzy =&gt; new vec3(x, z, y);
 vec3 get xzz =&gt; new vec3(x, z, z);
 vec3 get yxx =&gt; new vec3(y, x, x);
 vec3 get yxy =&gt; new vec3(y, x, y);
 vec3 get yxz =&gt; new vec3(y, x, z);
 vec3 get yyx =&gt; new vec3(y, y, x);
 vec3 get yyy =&gt; new vec3(y, y, y);
 vec3 get yyz =&gt; new vec3(y, y, z);
 vec3 get yzx =&gt; new vec3(y, z, x);
 vec3 get yzy =&gt; new vec3(y, z, y);
 vec3 get yzz =&gt; new vec3(y, z, z);
 vec3 get zxx =&gt; new vec3(z, x, x);
 vec3 get zxy =&gt; new vec3(z, x, y);
 vec3 get zxz =&gt; new vec3(z, x, z);
 vec3 get zyx =&gt; new vec3(z, y, x);
 vec3 get zyy =&gt; new vec3(z, y, y);
 vec3 get zyz =&gt; new vec3(z, y, z);
 vec3 get zzx =&gt; new vec3(z, z, x);
 vec3 get zzy =&gt; new vec3(z, z, y);
 vec3 get zzz =&gt; new vec3(z, z, z);
 vec4 get xxxx =&gt; new vec4(x, x, x, x);
 vec4 get xxxy =&gt; new vec4(x, x, x, y);
 vec4 get xxxz =&gt; new vec4(x, x, x, z);
 vec4 get xxyx =&gt; new vec4(x, x, y, x);
 vec4 get xxyy =&gt; new vec4(x, x, y, y);
 vec4 get xxyz =&gt; new vec4(x, x, y, z);
 vec4 get xxzx =&gt; new vec4(x, x, z, x);
 vec4 get xxzy =&gt; new vec4(x, x, z, y);
 vec4 get xxzz =&gt; new vec4(x, x, z, z);
 vec4 get xyxx =&gt; new vec4(x, y, x, x);
 vec4 get xyxy =&gt; new vec4(x, y, x, y);
 vec4 get xyxz =&gt; new vec4(x, y, x, z);
 vec4 get xyyx =&gt; new vec4(x, y, y, x);
 vec4 get xyyy =&gt; new vec4(x, y, y, y);
 vec4 get xyyz =&gt; new vec4(x, y, y, z);
 vec4 get xyzx =&gt; new vec4(x, y, z, x);
 vec4 get xyzy =&gt; new vec4(x, y, z, y);
 vec4 get xyzz =&gt; new vec4(x, y, z, z);
 vec4 get xzxx =&gt; new vec4(x, z, x, x);
 vec4 get xzxy =&gt; new vec4(x, z, x, y);
 vec4 get xzxz =&gt; new vec4(x, z, x, z);
 vec4 get xzyx =&gt; new vec4(x, z, y, x);
 vec4 get xzyy =&gt; new vec4(x, z, y, y);
 vec4 get xzyz =&gt; new vec4(x, z, y, z);
 vec4 get xzzx =&gt; new vec4(x, z, z, x);
 vec4 get xzzy =&gt; new vec4(x, z, z, y);
 vec4 get xzzz =&gt; new vec4(x, z, z, z);
 vec4 get yxxx =&gt; new vec4(y, x, x, x);
 vec4 get yxxy =&gt; new vec4(y, x, x, y);
 vec4 get yxxz =&gt; new vec4(y, x, x, z);
 vec4 get yxyx =&gt; new vec4(y, x, y, x);
 vec4 get yxyy =&gt; new vec4(y, x, y, y);
 vec4 get yxyz =&gt; new vec4(y, x, y, z);
 vec4 get yxzx =&gt; new vec4(y, x, z, x);
 vec4 get yxzy =&gt; new vec4(y, x, z, y);
 vec4 get yxzz =&gt; new vec4(y, x, z, z);
 vec4 get yyxx =&gt; new vec4(y, y, x, x);
 vec4 get yyxy =&gt; new vec4(y, y, x, y);
 vec4 get yyxz =&gt; new vec4(y, y, x, z);
 vec4 get yyyx =&gt; new vec4(y, y, y, x);
 vec4 get yyyy =&gt; new vec4(y, y, y, y);
 vec4 get yyyz =&gt; new vec4(y, y, y, z);
 vec4 get yyzx =&gt; new vec4(y, y, z, x);
 vec4 get yyzy =&gt; new vec4(y, y, z, y);
 vec4 get yyzz =&gt; new vec4(y, y, z, z);
 vec4 get yzxx =&gt; new vec4(y, z, x, x);
 vec4 get yzxy =&gt; new vec4(y, z, x, y);
 vec4 get yzxz =&gt; new vec4(y, z, x, z);
 vec4 get yzyx =&gt; new vec4(y, z, y, x);
 vec4 get yzyy =&gt; new vec4(y, z, y, y);
 vec4 get yzyz =&gt; new vec4(y, z, y, z);
 vec4 get yzzx =&gt; new vec4(y, z, z, x);
 vec4 get yzzy =&gt; new vec4(y, z, z, y);
 vec4 get yzzz =&gt; new vec4(y, z, z, z);
 vec4 get zxxx =&gt; new vec4(z, x, x, x);
 vec4 get zxxy =&gt; new vec4(z, x, x, y);
 vec4 get zxxz =&gt; new vec4(z, x, x, z);
 vec4 get zxyx =&gt; new vec4(z, x, y, x);
 vec4 get zxyy =&gt; new vec4(z, x, y, y);
 vec4 get zxyz =&gt; new vec4(z, x, y, z);
 vec4 get zxzx =&gt; new vec4(z, x, z, x);
 vec4 get zxzy =&gt; new vec4(z, x, z, y);
 vec4 get zxzz =&gt; new vec4(z, x, z, z);
 vec4 get zyxx =&gt; new vec4(z, y, x, x);
 vec4 get zyxy =&gt; new vec4(z, y, x, y);
 vec4 get zyxz =&gt; new vec4(z, y, x, z);
 vec4 get zyyx =&gt; new vec4(z, y, y, x);
 vec4 get zyyy =&gt; new vec4(z, y, y, y);
 vec4 get zyyz =&gt; new vec4(z, y, y, z);
 vec4 get zyzx =&gt; new vec4(z, y, z, x);
 vec4 get zyzy =&gt; new vec4(z, y, z, y);
 vec4 get zyzz =&gt; new vec4(z, y, z, z);
 vec4 get zzxx =&gt; new vec4(z, z, x, x);
 vec4 get zzxy =&gt; new vec4(z, z, x, y);
 vec4 get zzxz =&gt; new vec4(z, z, x, z);
 vec4 get zzyx =&gt; new vec4(z, z, y, x);
 vec4 get zzyy =&gt; new vec4(z, z, y, y);
 vec4 get zzyz =&gt; new vec4(z, z, y, z);
 vec4 get zzzx =&gt; new vec4(z, z, z, x);
 vec4 get zzzy =&gt; new vec4(z, z, z, y);
 vec4 get zzzz =&gt; new vec4(z, z, z, z);
 double get r =&gt; x;
 double get g =&gt; y;
 double get b =&gt; z;
 double get s =&gt; x;
 double get t =&gt; y;
 double get p =&gt; z;
 vec2 get rr =&gt; new vec2(r, r);
 vec2 get rg =&gt; new vec2(r, g);
 vec2 get rb =&gt; new vec2(r, b);
 vec2 get gr =&gt; new vec2(g, r);
 vec2 get gg =&gt; new vec2(g, g);
 vec2 get gb =&gt; new vec2(g, b);
 vec2 get br =&gt; new vec2(b, r);
 vec2 get bg =&gt; new vec2(b, g);
 vec2 get bb =&gt; new vec2(b, b);
 vec3 get rrr =&gt; new vec3(r, r, r);
 vec3 get rrg =&gt; new vec3(r, r, g);
 vec3 get rrb =&gt; new vec3(r, r, b);
 vec3 get rgr =&gt; new vec3(r, g, r);
 vec3 get rgg =&gt; new vec3(r, g, g);
 vec3 get rgb =&gt; new vec3(r, g, b);
 vec3 get rbr =&gt; new vec3(r, b, r);
 vec3 get rbg =&gt; new vec3(r, b, g);
 vec3 get rbb =&gt; new vec3(r, b, b);
 vec3 get grr =&gt; new vec3(g, r, r);
 vec3 get grg =&gt; new vec3(g, r, g);
 vec3 get grb =&gt; new vec3(g, r, b);
 vec3 get ggr =&gt; new vec3(g, g, r);
 vec3 get ggg =&gt; new vec3(g, g, g);
 vec3 get ggb =&gt; new vec3(g, g, b);
 vec3 get gbr =&gt; new vec3(g, b, r);
 vec3 get gbg =&gt; new vec3(g, b, g);
 vec3 get gbb =&gt; new vec3(g, b, b);
 vec3 get brr =&gt; new vec3(b, r, r);
 vec3 get brg =&gt; new vec3(b, r, g);
 vec3 get brb =&gt; new vec3(b, r, b);
 vec3 get bgr =&gt; new vec3(b, g, r);
 vec3 get bgg =&gt; new vec3(b, g, g);
 vec3 get bgb =&gt; new vec3(b, g, b);
 vec3 get bbr =&gt; new vec3(b, b, r);
 vec3 get bbg =&gt; new vec3(b, b, g);
 vec3 get bbb =&gt; new vec3(b, b, b);
 vec4 get rrrr =&gt; new vec4(r, r, r, r);
 vec4 get rrrg =&gt; new vec4(r, r, r, g);
 vec4 get rrrb =&gt; new vec4(r, r, r, b);
 vec4 get rrgr =&gt; new vec4(r, r, g, r);
 vec4 get rrgg =&gt; new vec4(r, r, g, g);
 vec4 get rrgb =&gt; new vec4(r, r, g, b);
 vec4 get rrbr =&gt; new vec4(r, r, b, r);
 vec4 get rrbg =&gt; new vec4(r, r, b, g);
 vec4 get rrbb =&gt; new vec4(r, r, b, b);
 vec4 get rgrr =&gt; new vec4(r, g, r, r);
 vec4 get rgrg =&gt; new vec4(r, g, r, g);
 vec4 get rgrb =&gt; new vec4(r, g, r, b);
 vec4 get rggr =&gt; new vec4(r, g, g, r);
 vec4 get rggg =&gt; new vec4(r, g, g, g);
 vec4 get rggb =&gt; new vec4(r, g, g, b);
 vec4 get rgbr =&gt; new vec4(r, g, b, r);
 vec4 get rgbg =&gt; new vec4(r, g, b, g);
 vec4 get rgbb =&gt; new vec4(r, g, b, b);
 vec4 get rbrr =&gt; new vec4(r, b, r, r);
 vec4 get rbrg =&gt; new vec4(r, b, r, g);
 vec4 get rbrb =&gt; new vec4(r, b, r, b);
 vec4 get rbgr =&gt; new vec4(r, b, g, r);
 vec4 get rbgg =&gt; new vec4(r, b, g, g);
 vec4 get rbgb =&gt; new vec4(r, b, g, b);
 vec4 get rbbr =&gt; new vec4(r, b, b, r);
 vec4 get rbbg =&gt; new vec4(r, b, b, g);
 vec4 get rbbb =&gt; new vec4(r, b, b, b);
 vec4 get grrr =&gt; new vec4(g, r, r, r);
 vec4 get grrg =&gt; new vec4(g, r, r, g);
 vec4 get grrb =&gt; new vec4(g, r, r, b);
 vec4 get grgr =&gt; new vec4(g, r, g, r);
 vec4 get grgg =&gt; new vec4(g, r, g, g);
 vec4 get grgb =&gt; new vec4(g, r, g, b);
 vec4 get grbr =&gt; new vec4(g, r, b, r);
 vec4 get grbg =&gt; new vec4(g, r, b, g);
 vec4 get grbb =&gt; new vec4(g, r, b, b);
 vec4 get ggrr =&gt; new vec4(g, g, r, r);
 vec4 get ggrg =&gt; new vec4(g, g, r, g);
 vec4 get ggrb =&gt; new vec4(g, g, r, b);
 vec4 get gggr =&gt; new vec4(g, g, g, r);
 vec4 get gggg =&gt; new vec4(g, g, g, g);
 vec4 get gggb =&gt; new vec4(g, g, g, b);
 vec4 get ggbr =&gt; new vec4(g, g, b, r);
 vec4 get ggbg =&gt; new vec4(g, g, b, g);
 vec4 get ggbb =&gt; new vec4(g, g, b, b);
 vec4 get gbrr =&gt; new vec4(g, b, r, r);
 vec4 get gbrg =&gt; new vec4(g, b, r, g);
 vec4 get gbrb =&gt; new vec4(g, b, r, b);
 vec4 get gbgr =&gt; new vec4(g, b, g, r);
 vec4 get gbgg =&gt; new vec4(g, b, g, g);
 vec4 get gbgb =&gt; new vec4(g, b, g, b);
 vec4 get gbbr =&gt; new vec4(g, b, b, r);
 vec4 get gbbg =&gt; new vec4(g, b, b, g);
 vec4 get gbbb =&gt; new vec4(g, b, b, b);
 vec4 get brrr =&gt; new vec4(b, r, r, r);
 vec4 get brrg =&gt; new vec4(b, r, r, g);
 vec4 get brrb =&gt; new vec4(b, r, r, b);
 vec4 get brgr =&gt; new vec4(b, r, g, r);
 vec4 get brgg =&gt; new vec4(b, r, g, g);
 vec4 get brgb =&gt; new vec4(b, r, g, b);
 vec4 get brbr =&gt; new vec4(b, r, b, r);
 vec4 get brbg =&gt; new vec4(b, r, b, g);
 vec4 get brbb =&gt; new vec4(b, r, b, b);
 vec4 get bgrr =&gt; new vec4(b, g, r, r);
 vec4 get bgrg =&gt; new vec4(b, g, r, g);
 vec4 get bgrb =&gt; new vec4(b, g, r, b);
 vec4 get bggr =&gt; new vec4(b, g, g, r);
 vec4 get bggg =&gt; new vec4(b, g, g, g);
 vec4 get bggb =&gt; new vec4(b, g, g, b);
 vec4 get bgbr =&gt; new vec4(b, g, b, r);
 vec4 get bgbg =&gt; new vec4(b, g, b, g);
 vec4 get bgbb =&gt; new vec4(b, g, b, b);
 vec4 get bbrr =&gt; new vec4(b, b, r, r);
 vec4 get bbrg =&gt; new vec4(b, b, r, g);
 vec4 get bbrb =&gt; new vec4(b, b, r, b);
 vec4 get bbgr =&gt; new vec4(b, b, g, r);
 vec4 get bbgg =&gt; new vec4(b, b, g, g);
 vec4 get bbgb =&gt; new vec4(b, b, g, b);
 vec4 get bbbr =&gt; new vec4(b, b, b, r);
 vec4 get bbbg =&gt; new vec4(b, b, b, g);
 vec4 get bbbb =&gt; new vec4(b, b, b, b);
 vec2 get ss =&gt; new vec2(s, s);
 vec2 get st =&gt; new vec2(s, t);
 vec2 get sp =&gt; new vec2(s, p);
 vec2 get ts =&gt; new vec2(t, s);
 vec2 get tt =&gt; new vec2(t, t);
 vec2 get tp =&gt; new vec2(t, p);
 vec2 get ps =&gt; new vec2(p, s);
 vec2 get pt =&gt; new vec2(p, t);
 vec2 get pp =&gt; new vec2(p, p);
 vec3 get sss =&gt; new vec3(s, s, s);
 vec3 get sst =&gt; new vec3(s, s, t);
 vec3 get ssp =&gt; new vec3(s, s, p);
 vec3 get sts =&gt; new vec3(s, t, s);
 vec3 get stt =&gt; new vec3(s, t, t);
 vec3 get stp =&gt; new vec3(s, t, p);
 vec3 get sps =&gt; new vec3(s, p, s);
 vec3 get spt =&gt; new vec3(s, p, t);
 vec3 get spp =&gt; new vec3(s, p, p);
 vec3 get tss =&gt; new vec3(t, s, s);
 vec3 get tst =&gt; new vec3(t, s, t);
 vec3 get tsp =&gt; new vec3(t, s, p);
 vec3 get tts =&gt; new vec3(t, t, s);
 vec3 get ttt =&gt; new vec3(t, t, t);
 vec3 get ttp =&gt; new vec3(t, t, p);
 vec3 get tps =&gt; new vec3(t, p, s);
 vec3 get tpt =&gt; new vec3(t, p, t);
 vec3 get tpp =&gt; new vec3(t, p, p);
 vec3 get pss =&gt; new vec3(p, s, s);
 vec3 get pst =&gt; new vec3(p, s, t);
 vec3 get psp =&gt; new vec3(p, s, p);
 vec3 get pts =&gt; new vec3(p, t, s);
 vec3 get ptt =&gt; new vec3(p, t, t);
 vec3 get ptp =&gt; new vec3(p, t, p);
 vec3 get pps =&gt; new vec3(p, p, s);
 vec3 get ppt =&gt; new vec3(p, p, t);
 vec3 get ppp =&gt; new vec3(p, p, p);
 vec4 get ssss =&gt; new vec4(s, s, s, s);
 vec4 get ssst =&gt; new vec4(s, s, s, t);
 vec4 get sssp =&gt; new vec4(s, s, s, p);
 vec4 get ssts =&gt; new vec4(s, s, t, s);
 vec4 get sstt =&gt; new vec4(s, s, t, t);
 vec4 get sstp =&gt; new vec4(s, s, t, p);
 vec4 get ssps =&gt; new vec4(s, s, p, s);
 vec4 get sspt =&gt; new vec4(s, s, p, t);
 vec4 get sspp =&gt; new vec4(s, s, p, p);
 vec4 get stss =&gt; new vec4(s, t, s, s);
 vec4 get stst =&gt; new vec4(s, t, s, t);
 vec4 get stsp =&gt; new vec4(s, t, s, p);
 vec4 get stts =&gt; new vec4(s, t, t, s);
 vec4 get sttt =&gt; new vec4(s, t, t, t);
 vec4 get sttp =&gt; new vec4(s, t, t, p);
 vec4 get stps =&gt; new vec4(s, t, p, s);
 vec4 get stpt =&gt; new vec4(s, t, p, t);
 vec4 get stpp =&gt; new vec4(s, t, p, p);
 vec4 get spss =&gt; new vec4(s, p, s, s);
 vec4 get spst =&gt; new vec4(s, p, s, t);
 vec4 get spsp =&gt; new vec4(s, p, s, p);
 vec4 get spts =&gt; new vec4(s, p, t, s);
 vec4 get sptt =&gt; new vec4(s, p, t, t);
 vec4 get sptp =&gt; new vec4(s, p, t, p);
 vec4 get spps =&gt; new vec4(s, p, p, s);
 vec4 get sppt =&gt; new vec4(s, p, p, t);
 vec4 get sppp =&gt; new vec4(s, p, p, p);
 vec4 get tsss =&gt; new vec4(t, s, s, s);
 vec4 get tsst =&gt; new vec4(t, s, s, t);
 vec4 get tssp =&gt; new vec4(t, s, s, p);
 vec4 get tsts =&gt; new vec4(t, s, t, s);
 vec4 get tstt =&gt; new vec4(t, s, t, t);
 vec4 get tstp =&gt; new vec4(t, s, t, p);
 vec4 get tsps =&gt; new vec4(t, s, p, s);
 vec4 get tspt =&gt; new vec4(t, s, p, t);
 vec4 get tspp =&gt; new vec4(t, s, p, p);
 vec4 get ttss =&gt; new vec4(t, t, s, s);
 vec4 get ttst =&gt; new vec4(t, t, s, t);
 vec4 get ttsp =&gt; new vec4(t, t, s, p);
 vec4 get ttts =&gt; new vec4(t, t, t, s);
 vec4 get tttt =&gt; new vec4(t, t, t, t);
 vec4 get tttp =&gt; new vec4(t, t, t, p);
 vec4 get ttps =&gt; new vec4(t, t, p, s);
 vec4 get ttpt =&gt; new vec4(t, t, p, t);
 vec4 get ttpp =&gt; new vec4(t, t, p, p);
 vec4 get tpss =&gt; new vec4(t, p, s, s);
 vec4 get tpst =&gt; new vec4(t, p, s, t);
 vec4 get tpsp =&gt; new vec4(t, p, s, p);
 vec4 get tpts =&gt; new vec4(t, p, t, s);
 vec4 get tptt =&gt; new vec4(t, p, t, t);
 vec4 get tptp =&gt; new vec4(t, p, t, p);
 vec4 get tpps =&gt; new vec4(t, p, p, s);
 vec4 get tppt =&gt; new vec4(t, p, p, t);
 vec4 get tppp =&gt; new vec4(t, p, p, p);
 vec4 get psss =&gt; new vec4(p, s, s, s);
 vec4 get psst =&gt; new vec4(p, s, s, t);
 vec4 get pssp =&gt; new vec4(p, s, s, p);
 vec4 get psts =&gt; new vec4(p, s, t, s);
 vec4 get pstt =&gt; new vec4(p, s, t, t);
 vec4 get pstp =&gt; new vec4(p, s, t, p);
 vec4 get psps =&gt; new vec4(p, s, p, s);
 vec4 get pspt =&gt; new vec4(p, s, p, t);
 vec4 get pspp =&gt; new vec4(p, s, p, p);
 vec4 get ptss =&gt; new vec4(p, t, s, s);
 vec4 get ptst =&gt; new vec4(p, t, s, t);
 vec4 get ptsp =&gt; new vec4(p, t, s, p);
 vec4 get ptts =&gt; new vec4(p, t, t, s);
 vec4 get pttt =&gt; new vec4(p, t, t, t);
 vec4 get pttp =&gt; new vec4(p, t, t, p);
 vec4 get ptps =&gt; new vec4(p, t, p, s);
 vec4 get ptpt =&gt; new vec4(p, t, p, t);
 vec4 get ptpp =&gt; new vec4(p, t, p, p);
 vec4 get ppss =&gt; new vec4(p, p, s, s);
 vec4 get ppst =&gt; new vec4(p, p, s, t);
 vec4 get ppsp =&gt; new vec4(p, p, s, p);
 vec4 get ppts =&gt; new vec4(p, p, t, s);
 vec4 get pptt =&gt; new vec4(p, p, t, t);
 vec4 get pptp =&gt; new vec4(p, p, t, p);
 vec4 get ppps =&gt; new vec4(p, p, p, s);
 vec4 get pppt =&gt; new vec4(p, p, p, t);
 vec4 get pppp =&gt; new vec4(p, p, p, p);
 vec3 add(vec3 arg) {
   x = x + arg.x;
   y = y + arg.y;
   z = z + arg.z;
   return this;
 }
 vec3 sub(vec3 arg) {
   x = x - arg.x;
   y = y - arg.y;
   z = z - arg.z;
   return this;
 }
 vec3 multiply(vec3 arg) {
   x = x * arg.x;
   y = y * arg.y;
   z = z * arg.z;
   return this;
 }
 vec3 div(vec3 arg) {
   x = x / arg.x;
   y = y / arg.y;
   z = z / arg.z;
   return this;
 }
 vec3 scale(num arg) {
   double a = arg.toDouble();
   x = x * a;
   y = y * a;
   z = z * a;
   return this;
 }
 vec3 scaled(num arg) {
   return clone().scale(arg);
 }
 vec3 negate() {
   x = -x;
   y = -y;
   z = -z;
   return this;
 }
 vec3 absolute() {
   x = x.abs();
   y = y.abs();
   z = z.abs();
   return this;
 }
 vec3 clone() {
   return new vec3.copy(this);
 }
 vec3 copyInto(vec3 arg) {
   arg.x = x;
   arg.y = y;
   arg.z = z;
   return arg;
 }
 vec3 copyFrom(vec3 arg) {
   x = arg.x;
   y = arg.y;
   z = arg.z;
   return this;
 }
 vec3 set(vec3 arg) {
   x = arg.x;
   y = arg.y;
   z = arg.z;
   return this;
 }
 vec3 setComponents(num x_, num y_, num z_) {
   x = x_.toDouble();
   y = y_.toDouble();
   z = z_.toDouble();
   return this;
 }
 /// Copies [this] into [array] starting at [offset].
 void copyIntoArray(List&lt;num&gt; array, [int offset=0]) {
   int i = offset;
   array[i] = x;
   i++;
   array[i] = y;
   i++;
   array[i] = z;
   i++;
 }
 /// Copies elements from [array] into [this] starting at [offset].
 void copyFromArray(List&lt;num&gt; array, [int offset=0]) {
   int i = offset;
   x = array[i].toDouble();
   i++;
   y = array[i].toDouble();
   i++;
   z = array[i].toDouble();
   i++;
 }
}
</pre>
</div>
<div>
<h3>Constructors</h3>
<div class="method"><h4 id="vec3">
<button class="show-code">Code</button>
new <strong>vec3</strong>([x_, y_, z_]) <a class="anchor-link" href="#vec3"
              title="Permalink to vec3.vec3">#</a></h4>
<div class="doc">
<p>Constructs a new <a class="crossref" href="../vector_math/vec3.html#vec3">vec3</a>. Follows GLSL constructor syntax so many combinations are possible</p>
<pre class="source">
vec3([dynamic x_, dynamic y_, dynamic z_]) {
 x = y = z = 0.0;
 if (x_ is vec2 &amp;&amp; y_ is num) {
   this.xy = x_.xy;
   this.z = y_.toDouble();
   return;
 }
 if (x_ is num &amp;&amp; y_ is vec2) {
   this.x = x_.toDouble();
   this.yz = y_.xy;
   return;
 }
 if (x_ is vec2 &amp;&amp; y_ == null) {
   this.xy = x_.xy;
   this.z = 0.0;
   return;
 }
 if (x_ is vec3) {
   xyz = x_.xyz;
   return;
 }
 if (x_ is num &amp;&amp; y_ is num &amp;&amp; z_ is num) {
   x = x_.toDouble();
   y = y_.toDouble();
   z = z_.toDouble();
   return;
 }
 if (x_ is num) {
   x = y = z = x_.toDouble();
   return;
 }
}
</pre>
</div>
</div>
<div class="method"><h4 id="vec3.array">
<button class="show-code">Code</button>
new <strong>vec3.array</strong>(List&lt;num&gt; array, [int offset = 0]) <a class="anchor-link" href="#vec3.array"
              title="Permalink to vec3.vec3.array">#</a></h4>
<div class="doc">
<p>Constructs a new <a class="crossref" href="../vector_math/vec3.html#vec3">vec3</a> that is initialized with values from 
<span class="param">array</span> starting at 
<span class="param">offset</span>.</p>
<pre class="source">
vec3.array(List&lt;num&gt; array, [int offset=0]) {
 int i = offset;
 x = array[i].toDouble();
 i++;
 y = array[i].toDouble();
 i++;
 z = array[i].toDouble();
 i++;
}
</pre>
</div>
</div>
<div class="method"><h4 id="vec3.copy">
<button class="show-code">Code</button>
new <strong>vec3.copy</strong>(<a href="../vector_math/vec3.html">vec3</a> other) <a class="anchor-link" href="#vec3.copy"
              title="Permalink to vec3.vec3.copy">#</a></h4>
<div class="doc">
<p>Constructs a copy of 
<span class="param">other</span>.</p>
<pre class="source">
vec3.copy(vec3 other) {
 makeCopy(other);
}
</pre>
</div>
</div>
<div class="method"><h4 id="vec3.raw">
<button class="show-code">Code</button>
new <strong>vec3.raw</strong>(num x_, num y_, num z_) <a class="anchor-link" href="#vec3.raw"
              title="Permalink to vec3.vec3.raw">#</a></h4>
<div class="doc">
<p>Constructs a new <a class="crossref" href="../vector_math/vec3.html#vec3">vec3</a> that is initialized with passed in values.</p>
<pre class="source">
vec3.raw(num x_, num y_, num z_) {
 makeRaw(x_, y_, z_);
}
</pre>
</div>
</div>
<div class="method"><h4 id="vec3.zero">
<button class="show-code">Code</button>
new <strong>vec3.zero</strong>() <a class="anchor-link" href="#vec3.zero"
              title="Permalink to vec3.vec3.zero">#</a></h4>
<div class="doc">
<p>Constructs a new <a class="crossref" href="../vector_math/vec3.html#vec3">vec3</a> zero vector.</p>
<pre class="source">
vec3.zero() { makeZero(); }
</pre>
</div>
</div>
</div>
<div>
<h3>Properties</h3>
<div class="field"><h4 id="b">
<button class="show-code">Code</button>
double         <strong>b</strong> <a class="anchor-link"
            href="#b"
            title="Permalink to vec3.b">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double get b =&gt; z;
</pre>
<pre class="source">
set b(double arg) =&gt; z = arg;
</pre>
</div>
</div>
<div class="field"><h4 id="bb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>bb</strong> <a class="anchor-link"
            href="#bb"
            title="Permalink to vec3.bb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get bb =&gt; new vec2(b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>bbb</strong> <a class="anchor-link"
            href="#bbb"
            title="Permalink to vec3.bbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get bbb =&gt; new vec3(b, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bbbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbbb</strong> <a class="anchor-link"
            href="#bbbb"
            title="Permalink to vec3.bbbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbbb =&gt; new vec4(b, b, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bbbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbbg</strong> <a class="anchor-link"
            href="#bbbg"
            title="Permalink to vec3.bbbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbbg =&gt; new vec4(b, b, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bbbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbbr</strong> <a class="anchor-link"
            href="#bbbr"
            title="Permalink to vec3.bbbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbbr =&gt; new vec4(b, b, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="bbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>bbg</strong> <a class="anchor-link"
            href="#bbg"
            title="Permalink to vec3.bbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get bbg =&gt; new vec3(b, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bbgb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbgb</strong> <a class="anchor-link"
            href="#bbgb"
            title="Permalink to vec3.bbgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbgb =&gt; new vec4(b, b, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bbgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbgg</strong> <a class="anchor-link"
            href="#bbgg"
            title="Permalink to vec3.bbgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbgg =&gt; new vec4(b, b, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bbgr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbgr</strong> <a class="anchor-link"
            href="#bbgr"
            title="Permalink to vec3.bbgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbgr =&gt; new vec4(b, b, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="bbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>bbr</strong> <a class="anchor-link"
            href="#bbr"
            title="Permalink to vec3.bbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get bbr =&gt; new vec3(b, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="bbrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbrb</strong> <a class="anchor-link"
            href="#bbrb"
            title="Permalink to vec3.bbrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbrb =&gt; new vec4(b, b, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bbrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbrg</strong> <a class="anchor-link"
            href="#bbrg"
            title="Permalink to vec3.bbrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbrg =&gt; new vec4(b, b, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bbrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bbrr</strong> <a class="anchor-link"
            href="#bbrr"
            title="Permalink to vec3.bbrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bbrr =&gt; new vec4(b, b, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="bg">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>bg</strong> <a class="anchor-link"
            href="#bg"
            title="Permalink to vec3.bg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get bg =&gt; new vec2(b, g);
</pre>
<pre class="source">
set bg(vec2 arg) {
 b = arg.r;
 g = arg.g;
}
</pre>
</div>
</div>
<div class="field"><h4 id="bgb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>bgb</strong> <a class="anchor-link"
            href="#bgb"
            title="Permalink to vec3.bgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get bgb =&gt; new vec3(b, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bgbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bgbb</strong> <a class="anchor-link"
            href="#bgbb"
            title="Permalink to vec3.bgbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bgbb =&gt; new vec4(b, g, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bgbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bgbg</strong> <a class="anchor-link"
            href="#bgbg"
            title="Permalink to vec3.bgbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bgbg =&gt; new vec4(b, g, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bgbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bgbr</strong> <a class="anchor-link"
            href="#bgbr"
            title="Permalink to vec3.bgbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bgbr =&gt; new vec4(b, g, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="bgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>bgg</strong> <a class="anchor-link"
            href="#bgg"
            title="Permalink to vec3.bgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get bgg =&gt; new vec3(b, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bggb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bggb</strong> <a class="anchor-link"
            href="#bggb"
            title="Permalink to vec3.bggb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bggb =&gt; new vec4(b, g, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bggg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bggg</strong> <a class="anchor-link"
            href="#bggg"
            title="Permalink to vec3.bggg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bggg =&gt; new vec4(b, g, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bggr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bggr</strong> <a class="anchor-link"
            href="#bggr"
            title="Permalink to vec3.bggr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bggr =&gt; new vec4(b, g, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="bgr">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>bgr</strong> <a class="anchor-link"
            href="#bgr"
            title="Permalink to vec3.bgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get bgr =&gt; new vec3(b, g, r);
</pre>
<pre class="source">
set bgr(vec3 arg) {
 b = arg.r;
 g = arg.g;
 r = arg.b;
}
</pre>
</div>
</div>
<div class="field"><h4 id="bgrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bgrb</strong> <a class="anchor-link"
            href="#bgrb"
            title="Permalink to vec3.bgrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bgrb =&gt; new vec4(b, g, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="bgrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bgrg</strong> <a class="anchor-link"
            href="#bgrg"
            title="Permalink to vec3.bgrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bgrg =&gt; new vec4(b, g, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="bgrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>bgrr</strong> <a class="anchor-link"
            href="#bgrr"
            title="Permalink to vec3.bgrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get bgrr =&gt; new vec4(b, g, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="br">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>br</strong> <a class="anchor-link"
            href="#br"
            title="Permalink to vec3.br">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get br =&gt; new vec2(b, r);
</pre>
<pre class="source">
set br(vec2 arg) {
 b = arg.r;
 r = arg.g;
}
</pre>
</div>
</div>
<div class="field"><h4 id="brb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>brb</strong> <a class="anchor-link"
            href="#brb"
            title="Permalink to vec3.brb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get brb =&gt; new vec3(b, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="brbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brbb</strong> <a class="anchor-link"
            href="#brbb"
            title="Permalink to vec3.brbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brbb =&gt; new vec4(b, r, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="brbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brbg</strong> <a class="anchor-link"
            href="#brbg"
            title="Permalink to vec3.brbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brbg =&gt; new vec4(b, r, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="brbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brbr</strong> <a class="anchor-link"
            href="#brbr"
            title="Permalink to vec3.brbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brbr =&gt; new vec4(b, r, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="brg">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>brg</strong> <a class="anchor-link"
            href="#brg"
            title="Permalink to vec3.brg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get brg =&gt; new vec3(b, r, g);
</pre>
<pre class="source">
set brg(vec3 arg) {
 b = arg.r;
 r = arg.g;
 g = arg.b;
}
</pre>
</div>
</div>
<div class="field"><h4 id="brgb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brgb</strong> <a class="anchor-link"
            href="#brgb"
            title="Permalink to vec3.brgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brgb =&gt; new vec4(b, r, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="brgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brgg</strong> <a class="anchor-link"
            href="#brgg"
            title="Permalink to vec3.brgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brgg =&gt; new vec4(b, r, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="brgr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brgr</strong> <a class="anchor-link"
            href="#brgr"
            title="Permalink to vec3.brgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brgr =&gt; new vec4(b, r, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="brr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>brr</strong> <a class="anchor-link"
            href="#brr"
            title="Permalink to vec3.brr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get brr =&gt; new vec3(b, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="brrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brrb</strong> <a class="anchor-link"
            href="#brrb"
            title="Permalink to vec3.brrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brrb =&gt; new vec4(b, r, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="brrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brrg</strong> <a class="anchor-link"
            href="#brrg"
            title="Permalink to vec3.brrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brrg =&gt; new vec4(b, r, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="brrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>brrr</strong> <a class="anchor-link"
            href="#brrr"
            title="Permalink to vec3.brrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get brrr =&gt; new vec4(b, r, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="g">
<button class="show-code">Code</button>
double         <strong>g</strong> <a class="anchor-link"
            href="#g"
            title="Permalink to vec3.g">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double get g =&gt; y;
</pre>
<pre class="source">
set g(double arg) =&gt; y = arg;
</pre>
</div>
</div>
<div class="field"><h4 id="gb">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>gb</strong> <a class="anchor-link"
            href="#gb"
            title="Permalink to vec3.gb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get gb =&gt; new vec2(g, b);
</pre>
<pre class="source">
set gb(vec2 arg) {
 g = arg.r;
 b = arg.g;
}
</pre>
</div>
</div>
<div class="field"><h4 id="gbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>gbb</strong> <a class="anchor-link"
            href="#gbb"
            title="Permalink to vec3.gbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get gbb =&gt; new vec3(g, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="gbbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbbb</strong> <a class="anchor-link"
            href="#gbbb"
            title="Permalink to vec3.gbbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbbb =&gt; new vec4(g, b, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="gbbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbbg</strong> <a class="anchor-link"
            href="#gbbg"
            title="Permalink to vec3.gbbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbbg =&gt; new vec4(g, b, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="gbbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbbr</strong> <a class="anchor-link"
            href="#gbbr"
            title="Permalink to vec3.gbbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbbr =&gt; new vec4(g, b, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="gbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>gbg</strong> <a class="anchor-link"
            href="#gbg"
            title="Permalink to vec3.gbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get gbg =&gt; new vec3(g, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="gbgb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbgb</strong> <a class="anchor-link"
            href="#gbgb"
            title="Permalink to vec3.gbgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbgb =&gt; new vec4(g, b, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="gbgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbgg</strong> <a class="anchor-link"
            href="#gbgg"
            title="Permalink to vec3.gbgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbgg =&gt; new vec4(g, b, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="gbgr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbgr</strong> <a class="anchor-link"
            href="#gbgr"
            title="Permalink to vec3.gbgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbgr =&gt; new vec4(g, b, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="gbr">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>gbr</strong> <a class="anchor-link"
            href="#gbr"
            title="Permalink to vec3.gbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get gbr =&gt; new vec3(g, b, r);
</pre>
<pre class="source">
set gbr(vec3 arg) {
 g = arg.r;
 b = arg.g;
 r = arg.b;
}
</pre>
</div>
</div>
<div class="field"><h4 id="gbrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbrb</strong> <a class="anchor-link"
            href="#gbrb"
            title="Permalink to vec3.gbrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbrb =&gt; new vec4(g, b, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="gbrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbrg</strong> <a class="anchor-link"
            href="#gbrg"
            title="Permalink to vec3.gbrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbrg =&gt; new vec4(g, b, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="gbrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gbrr</strong> <a class="anchor-link"
            href="#gbrr"
            title="Permalink to vec3.gbrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gbrr =&gt; new vec4(g, b, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="gg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>gg</strong> <a class="anchor-link"
            href="#gg"
            title="Permalink to vec3.gg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get gg =&gt; new vec2(g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="ggb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ggb</strong> <a class="anchor-link"
            href="#ggb"
            title="Permalink to vec3.ggb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ggb =&gt; new vec3(g, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="ggbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ggbb</strong> <a class="anchor-link"
            href="#ggbb"
            title="Permalink to vec3.ggbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ggbb =&gt; new vec4(g, g, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="ggbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ggbg</strong> <a class="anchor-link"
            href="#ggbg"
            title="Permalink to vec3.ggbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ggbg =&gt; new vec4(g, g, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="ggbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ggbr</strong> <a class="anchor-link"
            href="#ggbr"
            title="Permalink to vec3.ggbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ggbr =&gt; new vec4(g, g, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="ggg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ggg</strong> <a class="anchor-link"
            href="#ggg"
            title="Permalink to vec3.ggg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ggg =&gt; new vec3(g, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="gggb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gggb</strong> <a class="anchor-link"
            href="#gggb"
            title="Permalink to vec3.gggb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gggb =&gt; new vec4(g, g, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="gggg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gggg</strong> <a class="anchor-link"
            href="#gggg"
            title="Permalink to vec3.gggg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gggg =&gt; new vec4(g, g, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="gggr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>gggr</strong> <a class="anchor-link"
            href="#gggr"
            title="Permalink to vec3.gggr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get gggr =&gt; new vec4(g, g, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="ggr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ggr</strong> <a class="anchor-link"
            href="#ggr"
            title="Permalink to vec3.ggr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ggr =&gt; new vec3(g, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="ggrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ggrb</strong> <a class="anchor-link"
            href="#ggrb"
            title="Permalink to vec3.ggrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ggrb =&gt; new vec4(g, g, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="ggrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ggrg</strong> <a class="anchor-link"
            href="#ggrg"
            title="Permalink to vec3.ggrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ggrg =&gt; new vec4(g, g, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="ggrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ggrr</strong> <a class="anchor-link"
            href="#ggrr"
            title="Permalink to vec3.ggrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ggrr =&gt; new vec4(g, g, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="gr">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>gr</strong> <a class="anchor-link"
            href="#gr"
            title="Permalink to vec3.gr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get gr =&gt; new vec2(g, r);
</pre>
<pre class="source">
set gr(vec2 arg) {
 g = arg.r;
 r = arg.g;
}
</pre>
</div>
</div>
<div class="field"><h4 id="grb">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>grb</strong> <a class="anchor-link"
            href="#grb"
            title="Permalink to vec3.grb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get grb =&gt; new vec3(g, r, b);
</pre>
<pre class="source">
set grb(vec3 arg) {
 g = arg.r;
 r = arg.g;
 b = arg.b;
}
</pre>
</div>
</div>
<div class="field"><h4 id="grbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grbb</strong> <a class="anchor-link"
            href="#grbb"
            title="Permalink to vec3.grbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grbb =&gt; new vec4(g, r, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="grbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grbg</strong> <a class="anchor-link"
            href="#grbg"
            title="Permalink to vec3.grbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grbg =&gt; new vec4(g, r, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="grbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grbr</strong> <a class="anchor-link"
            href="#grbr"
            title="Permalink to vec3.grbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grbr =&gt; new vec4(g, r, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="grg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>grg</strong> <a class="anchor-link"
            href="#grg"
            title="Permalink to vec3.grg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get grg =&gt; new vec3(g, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="grgb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grgb</strong> <a class="anchor-link"
            href="#grgb"
            title="Permalink to vec3.grgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grgb =&gt; new vec4(g, r, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="grgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grgg</strong> <a class="anchor-link"
            href="#grgg"
            title="Permalink to vec3.grgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grgg =&gt; new vec4(g, r, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="grgr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grgr</strong> <a class="anchor-link"
            href="#grgr"
            title="Permalink to vec3.grgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grgr =&gt; new vec4(g, r, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="grr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>grr</strong> <a class="anchor-link"
            href="#grr"
            title="Permalink to vec3.grr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get grr =&gt; new vec3(g, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="grrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grrb</strong> <a class="anchor-link"
            href="#grrb"
            title="Permalink to vec3.grrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grrb =&gt; new vec4(g, r, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="grrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grrg</strong> <a class="anchor-link"
            href="#grrg"
            title="Permalink to vec3.grrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grrg =&gt; new vec4(g, r, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="grrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>grrr</strong> <a class="anchor-link"
            href="#grrr"
            title="Permalink to vec3.grrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get grrr =&gt; new vec4(g, r, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="isInfinite">
<button class="show-code">Code</button>
final bool         <strong>isInfinite</strong> <a class="anchor-link"
            href="#isInfinite"
            title="Permalink to vec3.isInfinite">#</a>
        </h4>
        <div class="doc">
<p>Returns true if any component is infinite.</p>
<pre class="source">
bool get isInfinite {
 bool is_infinite = false;
 is_infinite = is_infinite || x.isInfinite;
 is_infinite = is_infinite || y.isInfinite;
 is_infinite = is_infinite || z.isInfinite;
 return is_infinite;
}
</pre>
</div>
</div>
<div class="field"><h4 id="isNaN">
<button class="show-code">Code</button>
final bool         <strong>isNaN</strong> <a class="anchor-link"
            href="#isNaN"
            title="Permalink to vec3.isNaN">#</a>
        </h4>
        <div class="doc">
<p>Returns true if any component is NaN.</p>
<pre class="source">
bool get isNaN {
 bool is_nan = false;
 is_nan = is_nan || x.isNaN;
 is_nan = is_nan || y.isNaN;
 is_nan = is_nan || z.isNaN;
 return is_nan;
}
</pre>
</div>
</div>
<div class="field"><h4 id="length">
<button class="show-code">Code</button>
final double         <strong>length</strong> <a class="anchor-link"
            href="#length"
            title="Permalink to vec3.length">#</a>
        </h4>
        <div class="doc">
<p>Returns length of this</p>
<pre class="source">
double get length {
 double sum = 0.0;
 sum += (x * x);
 sum += (y * y);
 sum += (z * z);
 return Math.sqrt(sum);
}
</pre>
</div>
</div>
<div class="field"><h4 id="length2">
<button class="show-code">Code</button>
final double         <strong>length2</strong> <a class="anchor-link"
            href="#length2"
            title="Permalink to vec3.length2">#</a>
        </h4>
        <div class="doc">
<p>Returns squared length of this</p>
<pre class="source">
double get length2 {
 double sum = 0.0;
 sum += (x * x);
 sum += (y * y);
 sum += (z * z);
 return sum;
}
</pre>
</div>
</div>
<div class="field"><h4 id="p">
<button class="show-code">Code</button>
double         <strong>p</strong> <a class="anchor-link"
            href="#p"
            title="Permalink to vec3.p">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double get p =&gt; z;
</pre>
<pre class="source">
set p(double arg) =&gt; z = arg;
</pre>
</div>
</div>
<div class="field"><h4 id="pp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>pp</strong> <a class="anchor-link"
            href="#pp"
            title="Permalink to vec3.pp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get pp =&gt; new vec2(p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ppp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ppp</strong> <a class="anchor-link"
            href="#ppp"
            title="Permalink to vec3.ppp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ppp =&gt; new vec3(p, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="pppp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pppp</strong> <a class="anchor-link"
            href="#pppp"
            title="Permalink to vec3.pppp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pppp =&gt; new vec4(p, p, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ppps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ppps</strong> <a class="anchor-link"
            href="#ppps"
            title="Permalink to vec3.ppps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ppps =&gt; new vec4(p, p, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="pppt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pppt</strong> <a class="anchor-link"
            href="#pppt"
            title="Permalink to vec3.pppt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pppt =&gt; new vec4(p, p, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="pps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>pps</strong> <a class="anchor-link"
            href="#pps"
            title="Permalink to vec3.pps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get pps =&gt; new vec3(p, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ppsp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ppsp</strong> <a class="anchor-link"
            href="#ppsp"
            title="Permalink to vec3.ppsp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ppsp =&gt; new vec4(p, p, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ppss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ppss</strong> <a class="anchor-link"
            href="#ppss"
            title="Permalink to vec3.ppss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ppss =&gt; new vec4(p, p, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ppst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ppst</strong> <a class="anchor-link"
            href="#ppst"
            title="Permalink to vec3.ppst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ppst =&gt; new vec4(p, p, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="ppt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ppt</strong> <a class="anchor-link"
            href="#ppt"
            title="Permalink to vec3.ppt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ppt =&gt; new vec3(p, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="pptp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pptp</strong> <a class="anchor-link"
            href="#pptp"
            title="Permalink to vec3.pptp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pptp =&gt; new vec4(p, p, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ppts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ppts</strong> <a class="anchor-link"
            href="#ppts"
            title="Permalink to vec3.ppts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ppts =&gt; new vec4(p, p, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="pptt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pptt</strong> <a class="anchor-link"
            href="#pptt"
            title="Permalink to vec3.pptt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pptt =&gt; new vec4(p, p, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="ps">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>ps</strong> <a class="anchor-link"
            href="#ps"
            title="Permalink to vec3.ps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get ps =&gt; new vec2(p, s);
</pre>
<pre class="source">
set ps(vec2 arg) {
 p = arg.s;
 s = arg.t;
}
</pre>
</div>
</div>
<div class="field"><h4 id="psp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>psp</strong> <a class="anchor-link"
            href="#psp"
            title="Permalink to vec3.psp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get psp =&gt; new vec3(p, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="pspp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pspp</strong> <a class="anchor-link"
            href="#pspp"
            title="Permalink to vec3.pspp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pspp =&gt; new vec4(p, s, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="psps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>psps</strong> <a class="anchor-link"
            href="#psps"
            title="Permalink to vec3.psps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get psps =&gt; new vec4(p, s, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="pspt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pspt</strong> <a class="anchor-link"
            href="#pspt"
            title="Permalink to vec3.pspt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pspt =&gt; new vec4(p, s, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="pss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>pss</strong> <a class="anchor-link"
            href="#pss"
            title="Permalink to vec3.pss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get pss =&gt; new vec3(p, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="pssp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pssp</strong> <a class="anchor-link"
            href="#pssp"
            title="Permalink to vec3.pssp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pssp =&gt; new vec4(p, s, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="psss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>psss</strong> <a class="anchor-link"
            href="#psss"
            title="Permalink to vec3.psss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get psss =&gt; new vec4(p, s, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="psst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>psst</strong> <a class="anchor-link"
            href="#psst"
            title="Permalink to vec3.psst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get psst =&gt; new vec4(p, s, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="pst">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>pst</strong> <a class="anchor-link"
            href="#pst"
            title="Permalink to vec3.pst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get pst =&gt; new vec3(p, s, t);
</pre>
<pre class="source">
set pst(vec3 arg) {
 p = arg.s;
 s = arg.t;
 t = arg.p;
}
</pre>
</div>
</div>
<div class="field"><h4 id="pstp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pstp</strong> <a class="anchor-link"
            href="#pstp"
            title="Permalink to vec3.pstp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pstp =&gt; new vec4(p, s, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="psts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>psts</strong> <a class="anchor-link"
            href="#psts"
            title="Permalink to vec3.psts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get psts =&gt; new vec4(p, s, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="pstt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pstt</strong> <a class="anchor-link"
            href="#pstt"
            title="Permalink to vec3.pstt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pstt =&gt; new vec4(p, s, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="pt">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>pt</strong> <a class="anchor-link"
            href="#pt"
            title="Permalink to vec3.pt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get pt =&gt; new vec2(p, t);
</pre>
<pre class="source">
set pt(vec2 arg) {
 p = arg.s;
 t = arg.t;
}
</pre>
</div>
</div>
<div class="field"><h4 id="ptp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ptp</strong> <a class="anchor-link"
            href="#ptp"
            title="Permalink to vec3.ptp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ptp =&gt; new vec3(p, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ptpp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ptpp</strong> <a class="anchor-link"
            href="#ptpp"
            title="Permalink to vec3.ptpp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ptpp =&gt; new vec4(p, t, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ptps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ptps</strong> <a class="anchor-link"
            href="#ptps"
            title="Permalink to vec3.ptps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ptps =&gt; new vec4(p, t, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ptpt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ptpt</strong> <a class="anchor-link"
            href="#ptpt"
            title="Permalink to vec3.ptpt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ptpt =&gt; new vec4(p, t, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="pts">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>pts</strong> <a class="anchor-link"
            href="#pts"
            title="Permalink to vec3.pts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get pts =&gt; new vec3(p, t, s);
</pre>
<pre class="source">
set pts(vec3 arg) {
 p = arg.s;
 t = arg.t;
 s = arg.p;
}
</pre>
</div>
</div>
<div class="field"><h4 id="ptsp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ptsp</strong> <a class="anchor-link"
            href="#ptsp"
            title="Permalink to vec3.ptsp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ptsp =&gt; new vec4(p, t, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ptss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ptss</strong> <a class="anchor-link"
            href="#ptss"
            title="Permalink to vec3.ptss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ptss =&gt; new vec4(p, t, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ptst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ptst</strong> <a class="anchor-link"
            href="#ptst"
            title="Permalink to vec3.ptst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ptst =&gt; new vec4(p, t, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="ptt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ptt</strong> <a class="anchor-link"
            href="#ptt"
            title="Permalink to vec3.ptt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ptt =&gt; new vec3(p, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="pttp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pttp</strong> <a class="anchor-link"
            href="#pttp"
            title="Permalink to vec3.pttp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pttp =&gt; new vec4(p, t, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ptts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ptts</strong> <a class="anchor-link"
            href="#ptts"
            title="Permalink to vec3.ptts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ptts =&gt; new vec4(p, t, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="pttt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>pttt</strong> <a class="anchor-link"
            href="#pttt"
            title="Permalink to vec3.pttt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get pttt =&gt; new vec4(p, t, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="r">
<button class="show-code">Code</button>
double         <strong>r</strong> <a class="anchor-link"
            href="#r"
            title="Permalink to vec3.r">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double get r =&gt; x;
</pre>
<pre class="source">
set r(double arg) =&gt; x = arg;
</pre>
</div>
</div>
<div class="field"><h4 id="rb">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>rb</strong> <a class="anchor-link"
            href="#rb"
            title="Permalink to vec3.rb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get rb =&gt; new vec2(r, b);
</pre>
<pre class="source">
set rb(vec2 arg) {
 r = arg.r;
 b = arg.g;
}
</pre>
</div>
</div>
<div class="field"><h4 id="rbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>rbb</strong> <a class="anchor-link"
            href="#rbb"
            title="Permalink to vec3.rbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rbb =&gt; new vec3(r, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rbbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbbb</strong> <a class="anchor-link"
            href="#rbbb"
            title="Permalink to vec3.rbbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbbb =&gt; new vec4(r, b, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rbbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbbg</strong> <a class="anchor-link"
            href="#rbbg"
            title="Permalink to vec3.rbbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbbg =&gt; new vec4(r, b, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rbbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbbr</strong> <a class="anchor-link"
            href="#rbbr"
            title="Permalink to vec3.rbbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbbr =&gt; new vec4(r, b, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rbg">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>rbg</strong> <a class="anchor-link"
            href="#rbg"
            title="Permalink to vec3.rbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rbg =&gt; new vec3(r, b, g);
</pre>
<pre class="source">
set rbg(vec3 arg) {
 r = arg.r;
 b = arg.g;
 g = arg.b;
}
</pre>
</div>
</div>
<div class="field"><h4 id="rbgb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbgb</strong> <a class="anchor-link"
            href="#rbgb"
            title="Permalink to vec3.rbgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbgb =&gt; new vec4(r, b, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rbgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbgg</strong> <a class="anchor-link"
            href="#rbgg"
            title="Permalink to vec3.rbgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbgg =&gt; new vec4(r, b, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rbgr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbgr</strong> <a class="anchor-link"
            href="#rbgr"
            title="Permalink to vec3.rbgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbgr =&gt; new vec4(r, b, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>rbr</strong> <a class="anchor-link"
            href="#rbr"
            title="Permalink to vec3.rbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rbr =&gt; new vec3(r, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rbrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbrb</strong> <a class="anchor-link"
            href="#rbrb"
            title="Permalink to vec3.rbrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbrb =&gt; new vec4(r, b, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rbrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbrg</strong> <a class="anchor-link"
            href="#rbrg"
            title="Permalink to vec3.rbrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbrg =&gt; new vec4(r, b, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rbrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rbrr</strong> <a class="anchor-link"
            href="#rbrr"
            title="Permalink to vec3.rbrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rbrr =&gt; new vec4(r, b, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rg">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>rg</strong> <a class="anchor-link"
            href="#rg"
            title="Permalink to vec3.rg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get rg =&gt; new vec2(r, g);
</pre>
<pre class="source">
set rg(vec2 arg) {
 r = arg.r;
 g = arg.g;
}
</pre>
</div>
</div>
<div class="field"><h4 id="rgb">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>rgb</strong> <a class="anchor-link"
            href="#rgb"
            title="Permalink to vec3.rgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rgb =&gt; new vec3(r, g, b);
</pre>
<pre class="source">
set rgb(vec3 arg) {
 r = arg.r;
 g = arg.g;
 b = arg.b;
}
</pre>
</div>
</div>
<div class="field"><h4 id="rgbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rgbb</strong> <a class="anchor-link"
            href="#rgbb"
            title="Permalink to vec3.rgbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rgbb =&gt; new vec4(r, g, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rgbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rgbg</strong> <a class="anchor-link"
            href="#rgbg"
            title="Permalink to vec3.rgbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rgbg =&gt; new vec4(r, g, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rgbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rgbr</strong> <a class="anchor-link"
            href="#rgbr"
            title="Permalink to vec3.rgbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rgbr =&gt; new vec4(r, g, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>rgg</strong> <a class="anchor-link"
            href="#rgg"
            title="Permalink to vec3.rgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rgg =&gt; new vec3(r, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rggb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rggb</strong> <a class="anchor-link"
            href="#rggb"
            title="Permalink to vec3.rggb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rggb =&gt; new vec4(r, g, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rggg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rggg</strong> <a class="anchor-link"
            href="#rggg"
            title="Permalink to vec3.rggg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rggg =&gt; new vec4(r, g, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rggr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rggr</strong> <a class="anchor-link"
            href="#rggr"
            title="Permalink to vec3.rggr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rggr =&gt; new vec4(r, g, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rgr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>rgr</strong> <a class="anchor-link"
            href="#rgr"
            title="Permalink to vec3.rgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rgr =&gt; new vec3(r, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rgrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rgrb</strong> <a class="anchor-link"
            href="#rgrb"
            title="Permalink to vec3.rgrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rgrb =&gt; new vec4(r, g, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rgrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rgrg</strong> <a class="anchor-link"
            href="#rgrg"
            title="Permalink to vec3.rgrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rgrg =&gt; new vec4(r, g, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rgrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rgrr</strong> <a class="anchor-link"
            href="#rgrr"
            title="Permalink to vec3.rgrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rgrr =&gt; new vec4(r, g, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>rr</strong> <a class="anchor-link"
            href="#rr"
            title="Permalink to vec3.rr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get rr =&gt; new vec2(r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>rrb</strong> <a class="anchor-link"
            href="#rrb"
            title="Permalink to vec3.rrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rrb =&gt; new vec3(r, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rrbb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrbb</strong> <a class="anchor-link"
            href="#rrbb"
            title="Permalink to vec3.rrbb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrbb =&gt; new vec4(r, r, b, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rrbg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrbg</strong> <a class="anchor-link"
            href="#rrbg"
            title="Permalink to vec3.rrbg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrbg =&gt; new vec4(r, r, b, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rrbr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrbr</strong> <a class="anchor-link"
            href="#rrbr"
            title="Permalink to vec3.rrbr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrbr =&gt; new vec4(r, r, b, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>rrg</strong> <a class="anchor-link"
            href="#rrg"
            title="Permalink to vec3.rrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rrg =&gt; new vec3(r, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rrgb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrgb</strong> <a class="anchor-link"
            href="#rrgb"
            title="Permalink to vec3.rrgb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrgb =&gt; new vec4(r, r, g, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rrgg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrgg</strong> <a class="anchor-link"
            href="#rrgg"
            title="Permalink to vec3.rrgg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrgg =&gt; new vec4(r, r, g, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rrgr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrgr</strong> <a class="anchor-link"
            href="#rrgr"
            title="Permalink to vec3.rrgr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrgr =&gt; new vec4(r, r, g, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>rrr</strong> <a class="anchor-link"
            href="#rrr"
            title="Permalink to vec3.rrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get rrr =&gt; new vec3(r, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="rrrb">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrrb</strong> <a class="anchor-link"
            href="#rrrb"
            title="Permalink to vec3.rrrb">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrrb =&gt; new vec4(r, r, r, b);
</pre>
</div>
</div>
<div class="field"><h4 id="rrrg">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrrg</strong> <a class="anchor-link"
            href="#rrrg"
            title="Permalink to vec3.rrrg">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrrg =&gt; new vec4(r, r, r, g);
</pre>
</div>
</div>
<div class="field"><h4 id="rrrr">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>rrrr</strong> <a class="anchor-link"
            href="#rrrr"
            title="Permalink to vec3.rrrr">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get rrrr =&gt; new vec4(r, r, r, r);
</pre>
</div>
</div>
<div class="field"><h4 id="s">
<button class="show-code">Code</button>
double         <strong>s</strong> <a class="anchor-link"
            href="#s"
            title="Permalink to vec3.s">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double get s =&gt; x;
</pre>
<pre class="source">
set s(double arg) =&gt; x = arg;
</pre>
</div>
</div>
<div class="field"><h4 id="sp">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>sp</strong> <a class="anchor-link"
            href="#sp"
            title="Permalink to vec3.sp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get sp =&gt; new vec2(s, p);
</pre>
<pre class="source">
set sp(vec2 arg) {
 s = arg.s;
 p = arg.t;
}
</pre>
</div>
</div>
<div class="field"><h4 id="spp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>spp</strong> <a class="anchor-link"
            href="#spp"
            title="Permalink to vec3.spp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get spp =&gt; new vec3(s, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="sppp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sppp</strong> <a class="anchor-link"
            href="#sppp"
            title="Permalink to vec3.sppp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sppp =&gt; new vec4(s, p, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="spps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>spps</strong> <a class="anchor-link"
            href="#spps"
            title="Permalink to vec3.spps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get spps =&gt; new vec4(s, p, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="sppt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sppt</strong> <a class="anchor-link"
            href="#sppt"
            title="Permalink to vec3.sppt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sppt =&gt; new vec4(s, p, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="sps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>sps</strong> <a class="anchor-link"
            href="#sps"
            title="Permalink to vec3.sps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get sps =&gt; new vec3(s, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="spsp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>spsp</strong> <a class="anchor-link"
            href="#spsp"
            title="Permalink to vec3.spsp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get spsp =&gt; new vec4(s, p, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="spss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>spss</strong> <a class="anchor-link"
            href="#spss"
            title="Permalink to vec3.spss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get spss =&gt; new vec4(s, p, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="spst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>spst</strong> <a class="anchor-link"
            href="#spst"
            title="Permalink to vec3.spst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get spst =&gt; new vec4(s, p, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="spt">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>spt</strong> <a class="anchor-link"
            href="#spt"
            title="Permalink to vec3.spt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get spt =&gt; new vec3(s, p, t);
</pre>
<pre class="source">
set spt(vec3 arg) {
 s = arg.s;
 p = arg.t;
 t = arg.p;
}
</pre>
</div>
</div>
<div class="field"><h4 id="sptp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sptp</strong> <a class="anchor-link"
            href="#sptp"
            title="Permalink to vec3.sptp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sptp =&gt; new vec4(s, p, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="spts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>spts</strong> <a class="anchor-link"
            href="#spts"
            title="Permalink to vec3.spts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get spts =&gt; new vec4(s, p, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="sptt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sptt</strong> <a class="anchor-link"
            href="#sptt"
            title="Permalink to vec3.sptt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sptt =&gt; new vec4(s, p, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="ss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>ss</strong> <a class="anchor-link"
            href="#ss"
            title="Permalink to vec3.ss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get ss =&gt; new vec2(s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ssp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ssp</strong> <a class="anchor-link"
            href="#ssp"
            title="Permalink to vec3.ssp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ssp =&gt; new vec3(s, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="sspp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sspp</strong> <a class="anchor-link"
            href="#sspp"
            title="Permalink to vec3.sspp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sspp =&gt; new vec4(s, s, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ssps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ssps</strong> <a class="anchor-link"
            href="#ssps"
            title="Permalink to vec3.ssps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ssps =&gt; new vec4(s, s, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="sspt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sspt</strong> <a class="anchor-link"
            href="#sspt"
            title="Permalink to vec3.sspt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sspt =&gt; new vec4(s, s, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="sss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>sss</strong> <a class="anchor-link"
            href="#sss"
            title="Permalink to vec3.sss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get sss =&gt; new vec3(s, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="sssp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sssp</strong> <a class="anchor-link"
            href="#sssp"
            title="Permalink to vec3.sssp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sssp =&gt; new vec4(s, s, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ssss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ssss</strong> <a class="anchor-link"
            href="#ssss"
            title="Permalink to vec3.ssss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ssss =&gt; new vec4(s, s, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ssst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ssst</strong> <a class="anchor-link"
            href="#ssst"
            title="Permalink to vec3.ssst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ssst =&gt; new vec4(s, s, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="sst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>sst</strong> <a class="anchor-link"
            href="#sst"
            title="Permalink to vec3.sst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get sst =&gt; new vec3(s, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="sstp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sstp</strong> <a class="anchor-link"
            href="#sstp"
            title="Permalink to vec3.sstp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sstp =&gt; new vec4(s, s, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ssts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ssts</strong> <a class="anchor-link"
            href="#ssts"
            title="Permalink to vec3.ssts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ssts =&gt; new vec4(s, s, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="sstt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sstt</strong> <a class="anchor-link"
            href="#sstt"
            title="Permalink to vec3.sstt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sstt =&gt; new vec4(s, s, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="st">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>st</strong> <a class="anchor-link"
            href="#st"
            title="Permalink to vec3.st">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get st =&gt; new vec2(s, t);
</pre>
<pre class="source">
set st(vec2 arg) {
 s = arg.s;
 t = arg.t;
}
</pre>
</div>
</div>
<div class="field"><h4 id="stp">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>stp</strong> <a class="anchor-link"
            href="#stp"
            title="Permalink to vec3.stp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get stp =&gt; new vec3(s, t, p);
</pre>
<pre class="source">
set stp(vec3 arg) {
 s = arg.s;
 t = arg.t;
 p = arg.p;
}
</pre>
</div>
</div>
<div class="field"><h4 id="stpp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>stpp</strong> <a class="anchor-link"
            href="#stpp"
            title="Permalink to vec3.stpp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get stpp =&gt; new vec4(s, t, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="stps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>stps</strong> <a class="anchor-link"
            href="#stps"
            title="Permalink to vec3.stps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get stps =&gt; new vec4(s, t, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="stpt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>stpt</strong> <a class="anchor-link"
            href="#stpt"
            title="Permalink to vec3.stpt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get stpt =&gt; new vec4(s, t, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="sts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>sts</strong> <a class="anchor-link"
            href="#sts"
            title="Permalink to vec3.sts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get sts =&gt; new vec3(s, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="stsp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>stsp</strong> <a class="anchor-link"
            href="#stsp"
            title="Permalink to vec3.stsp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get stsp =&gt; new vec4(s, t, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="stss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>stss</strong> <a class="anchor-link"
            href="#stss"
            title="Permalink to vec3.stss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get stss =&gt; new vec4(s, t, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="stst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>stst</strong> <a class="anchor-link"
            href="#stst"
            title="Permalink to vec3.stst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get stst =&gt; new vec4(s, t, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="stt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>stt</strong> <a class="anchor-link"
            href="#stt"
            title="Permalink to vec3.stt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get stt =&gt; new vec3(s, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="sttp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sttp</strong> <a class="anchor-link"
            href="#sttp"
            title="Permalink to vec3.sttp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sttp =&gt; new vec4(s, t, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="stts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>stts</strong> <a class="anchor-link"
            href="#stts"
            title="Permalink to vec3.stts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get stts =&gt; new vec4(s, t, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="sttt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>sttt</strong> <a class="anchor-link"
            href="#sttt"
            title="Permalink to vec3.sttt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get sttt =&gt; new vec4(s, t, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="t">
<button class="show-code">Code</button>
double         <strong>t</strong> <a class="anchor-link"
            href="#t"
            title="Permalink to vec3.t">#</a>
        </h4>
        <div class="doc">
<pre class="source">
double get t =&gt; y;
</pre>
<pre class="source">
set t(double arg) =&gt; y = arg;
</pre>
</div>
</div>
<div class="field"><h4 id="tp">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>tp</strong> <a class="anchor-link"
            href="#tp"
            title="Permalink to vec3.tp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get tp =&gt; new vec2(t, p);
</pre>
<pre class="source">
set tp(vec2 arg) {
 t = arg.s;
 p = arg.t;
}
</pre>
</div>
</div>
<div class="field"><h4 id="tpp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>tpp</strong> <a class="anchor-link"
            href="#tpp"
            title="Permalink to vec3.tpp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get tpp =&gt; new vec3(t, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="tppp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tppp</strong> <a class="anchor-link"
            href="#tppp"
            title="Permalink to vec3.tppp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tppp =&gt; new vec4(t, p, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="tpps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tpps</strong> <a class="anchor-link"
            href="#tpps"
            title="Permalink to vec3.tpps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tpps =&gt; new vec4(t, p, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tppt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tppt</strong> <a class="anchor-link"
            href="#tppt"
            title="Permalink to vec3.tppt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tppt =&gt; new vec4(t, p, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tps">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>tps</strong> <a class="anchor-link"
            href="#tps"
            title="Permalink to vec3.tps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get tps =&gt; new vec3(t, p, s);
</pre>
<pre class="source">
set tps(vec3 arg) {
 t = arg.s;
 p = arg.t;
 s = arg.p;
}
</pre>
</div>
</div>
<div class="field"><h4 id="tpsp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tpsp</strong> <a class="anchor-link"
            href="#tpsp"
            title="Permalink to vec3.tpsp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tpsp =&gt; new vec4(t, p, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="tpss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tpss</strong> <a class="anchor-link"
            href="#tpss"
            title="Permalink to vec3.tpss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tpss =&gt; new vec4(t, p, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tpst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tpst</strong> <a class="anchor-link"
            href="#tpst"
            title="Permalink to vec3.tpst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tpst =&gt; new vec4(t, p, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tpt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>tpt</strong> <a class="anchor-link"
            href="#tpt"
            title="Permalink to vec3.tpt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get tpt =&gt; new vec3(t, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tptp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tptp</strong> <a class="anchor-link"
            href="#tptp"
            title="Permalink to vec3.tptp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tptp =&gt; new vec4(t, p, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="tpts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tpts</strong> <a class="anchor-link"
            href="#tpts"
            title="Permalink to vec3.tpts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tpts =&gt; new vec4(t, p, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tptt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tptt</strong> <a class="anchor-link"
            href="#tptt"
            title="Permalink to vec3.tptt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tptt =&gt; new vec4(t, p, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="ts">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>ts</strong> <a class="anchor-link"
            href="#ts"
            title="Permalink to vec3.ts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get ts =&gt; new vec2(t, s);
</pre>
<pre class="source">
set ts(vec2 arg) {
 t = arg.s;
 s = arg.t;
}
</pre>
</div>
</div>
<div class="field"><h4 id="tsp">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>tsp</strong> <a class="anchor-link"
            href="#tsp"
            title="Permalink to vec3.tsp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get tsp =&gt; new vec3(t, s, p);
</pre>
<pre class="source">
set tsp(vec3 arg) {
 t = arg.s;
 s = arg.t;
 p = arg.p;
}
</pre>
</div>
</div>
<div class="field"><h4 id="tspp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tspp</strong> <a class="anchor-link"
            href="#tspp"
            title="Permalink to vec3.tspp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tspp =&gt; new vec4(t, s, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="tsps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tsps</strong> <a class="anchor-link"
            href="#tsps"
            title="Permalink to vec3.tsps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tsps =&gt; new vec4(t, s, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tspt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tspt</strong> <a class="anchor-link"
            href="#tspt"
            title="Permalink to vec3.tspt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tspt =&gt; new vec4(t, s, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>tss</strong> <a class="anchor-link"
            href="#tss"
            title="Permalink to vec3.tss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get tss =&gt; new vec3(t, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tssp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tssp</strong> <a class="anchor-link"
            href="#tssp"
            title="Permalink to vec3.tssp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tssp =&gt; new vec4(t, s, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="tsss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tsss</strong> <a class="anchor-link"
            href="#tsss"
            title="Permalink to vec3.tsss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tsss =&gt; new vec4(t, s, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tsst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tsst</strong> <a class="anchor-link"
            href="#tsst"
            title="Permalink to vec3.tsst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tsst =&gt; new vec4(t, s, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>tst</strong> <a class="anchor-link"
            href="#tst"
            title="Permalink to vec3.tst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get tst =&gt; new vec3(t, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tstp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tstp</strong> <a class="anchor-link"
            href="#tstp"
            title="Permalink to vec3.tstp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tstp =&gt; new vec4(t, s, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="tsts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tsts</strong> <a class="anchor-link"
            href="#tsts"
            title="Permalink to vec3.tsts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tsts =&gt; new vec4(t, s, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tstt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tstt</strong> <a class="anchor-link"
            href="#tstt"
            title="Permalink to vec3.tstt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tstt =&gt; new vec4(t, s, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>tt</strong> <a class="anchor-link"
            href="#tt"
            title="Permalink to vec3.tt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get tt =&gt; new vec2(t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="ttp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ttp</strong> <a class="anchor-link"
            href="#ttp"
            title="Permalink to vec3.ttp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ttp =&gt; new vec3(t, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ttpp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ttpp</strong> <a class="anchor-link"
            href="#ttpp"
            title="Permalink to vec3.ttpp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ttpp =&gt; new vec4(t, t, p, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ttps">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ttps</strong> <a class="anchor-link"
            href="#ttps"
            title="Permalink to vec3.ttps">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ttps =&gt; new vec4(t, t, p, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ttpt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ttpt</strong> <a class="anchor-link"
            href="#ttpt"
            title="Permalink to vec3.ttpt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ttpt =&gt; new vec4(t, t, p, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>tts</strong> <a class="anchor-link"
            href="#tts"
            title="Permalink to vec3.tts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get tts =&gt; new vec3(t, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ttsp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ttsp</strong> <a class="anchor-link"
            href="#ttsp"
            title="Permalink to vec3.ttsp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ttsp =&gt; new vec4(t, t, s, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ttss">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ttss</strong> <a class="anchor-link"
            href="#ttss"
            title="Permalink to vec3.ttss">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ttss =&gt; new vec4(t, t, s, s);
</pre>
</div>
</div>
<div class="field"><h4 id="ttst">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ttst</strong> <a class="anchor-link"
            href="#ttst"
            title="Permalink to vec3.ttst">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ttst =&gt; new vec4(t, t, s, t);
</pre>
</div>
</div>
<div class="field"><h4 id="ttt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>ttt</strong> <a class="anchor-link"
            href="#ttt"
            title="Permalink to vec3.ttt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get ttt =&gt; new vec3(t, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="tttp">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tttp</strong> <a class="anchor-link"
            href="#tttp"
            title="Permalink to vec3.tttp">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tttp =&gt; new vec4(t, t, t, p);
</pre>
</div>
</div>
<div class="field"><h4 id="ttts">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>ttts</strong> <a class="anchor-link"
            href="#ttts"
            title="Permalink to vec3.ttts">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get ttts =&gt; new vec4(t, t, t, s);
</pre>
</div>
</div>
<div class="field"><h4 id="tttt">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>tttt</strong> <a class="anchor-link"
            href="#tttt"
            title="Permalink to vec3.tttt">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get tttt =&gt; new vec4(t, t, t, t);
</pre>
</div>
</div>
<div class="field"><h4 id="x">
<button class="show-code">Code</button>
double         <strong>x</strong> <a class="anchor-link"
            href="#x"
            title="Permalink to vec3.x">#</a>
        </h4>
        <div class="doc">
<pre class="source">
x
</pre>
</div>
</div>
<div class="field"><h4 id="xx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>xx</strong> <a class="anchor-link"
            href="#xx"
            title="Permalink to vec3.xx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get xx =&gt; new vec2(x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>xxx</strong> <a class="anchor-link"
            href="#xxx"
            title="Permalink to vec3.xxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xxx =&gt; new vec3(x, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xxxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxxx</strong> <a class="anchor-link"
            href="#xxxx"
            title="Permalink to vec3.xxxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxxx =&gt; new vec4(x, x, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xxxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxxy</strong> <a class="anchor-link"
            href="#xxxy"
            title="Permalink to vec3.xxxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxxy =&gt; new vec4(x, x, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xxxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxxz</strong> <a class="anchor-link"
            href="#xxxz"
            title="Permalink to vec3.xxxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxxz =&gt; new vec4(x, x, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>xxy</strong> <a class="anchor-link"
            href="#xxy"
            title="Permalink to vec3.xxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xxy =&gt; new vec3(x, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xxyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxyx</strong> <a class="anchor-link"
            href="#xxyx"
            title="Permalink to vec3.xxyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxyx =&gt; new vec4(x, x, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xxyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxyy</strong> <a class="anchor-link"
            href="#xxyy"
            title="Permalink to vec3.xxyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxyy =&gt; new vec4(x, x, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xxyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxyz</strong> <a class="anchor-link"
            href="#xxyz"
            title="Permalink to vec3.xxyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxyz =&gt; new vec4(x, x, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>xxz</strong> <a class="anchor-link"
            href="#xxz"
            title="Permalink to vec3.xxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xxz =&gt; new vec3(x, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xxzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxzx</strong> <a class="anchor-link"
            href="#xxzx"
            title="Permalink to vec3.xxzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxzx =&gt; new vec4(x, x, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xxzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxzy</strong> <a class="anchor-link"
            href="#xxzy"
            title="Permalink to vec3.xxzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxzy =&gt; new vec4(x, x, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xxzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xxzz</strong> <a class="anchor-link"
            href="#xxzz"
            title="Permalink to vec3.xxzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xxzz =&gt; new vec4(x, x, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xy">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>xy</strong> <a class="anchor-link"
            href="#xy"
            title="Permalink to vec3.xy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get xy =&gt; new vec2(x, y);
</pre>
<pre class="source">
set xy(vec2 arg) {
 x = arg.x;
 y = arg.y;
}
</pre>
</div>
</div>
<div class="field"><h4 id="xyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>xyx</strong> <a class="anchor-link"
            href="#xyx"
            title="Permalink to vec3.xyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xyx =&gt; new vec3(x, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xyxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyxx</strong> <a class="anchor-link"
            href="#xyxx"
            title="Permalink to vec3.xyxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyxx =&gt; new vec4(x, y, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xyxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyxy</strong> <a class="anchor-link"
            href="#xyxy"
            title="Permalink to vec3.xyxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyxy =&gt; new vec4(x, y, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xyxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyxz</strong> <a class="anchor-link"
            href="#xyxz"
            title="Permalink to vec3.xyxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyxz =&gt; new vec4(x, y, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>xyy</strong> <a class="anchor-link"
            href="#xyy"
            title="Permalink to vec3.xyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xyy =&gt; new vec3(x, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xyyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyyx</strong> <a class="anchor-link"
            href="#xyyx"
            title="Permalink to vec3.xyyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyyx =&gt; new vec4(x, y, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xyyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyyy</strong> <a class="anchor-link"
            href="#xyyy"
            title="Permalink to vec3.xyyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyyy =&gt; new vec4(x, y, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xyyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyyz</strong> <a class="anchor-link"
            href="#xyyz"
            title="Permalink to vec3.xyyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyyz =&gt; new vec4(x, y, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xyz">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>xyz</strong> <a class="anchor-link"
            href="#xyz"
            title="Permalink to vec3.xyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xyz =&gt; new vec3(x, y, z);
</pre>
<pre class="source">
set xyz(vec3 arg) {
 x = arg.x;
 y = arg.y;
 z = arg.z;
}
</pre>
</div>
</div>
<div class="field"><h4 id="xyzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyzx</strong> <a class="anchor-link"
            href="#xyzx"
            title="Permalink to vec3.xyzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyzx =&gt; new vec4(x, y, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xyzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyzy</strong> <a class="anchor-link"
            href="#xyzy"
            title="Permalink to vec3.xyzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyzy =&gt; new vec4(x, y, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xyzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xyzz</strong> <a class="anchor-link"
            href="#xyzz"
            title="Permalink to vec3.xyzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xyzz =&gt; new vec4(x, y, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xz">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>xz</strong> <a class="anchor-link"
            href="#xz"
            title="Permalink to vec3.xz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get xz =&gt; new vec2(x, z);
</pre>
<pre class="source">
set xz(vec2 arg) {
 x = arg.x;
 z = arg.y;
}
</pre>
</div>
</div>
<div class="field"><h4 id="xzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>xzx</strong> <a class="anchor-link"
            href="#xzx"
            title="Permalink to vec3.xzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xzx =&gt; new vec3(x, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xzxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzxx</strong> <a class="anchor-link"
            href="#xzxx"
            title="Permalink to vec3.xzxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzxx =&gt; new vec4(x, z, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xzxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzxy</strong> <a class="anchor-link"
            href="#xzxy"
            title="Permalink to vec3.xzxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzxy =&gt; new vec4(x, z, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xzxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzxz</strong> <a class="anchor-link"
            href="#xzxz"
            title="Permalink to vec3.xzxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzxz =&gt; new vec4(x, z, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xzy">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>xzy</strong> <a class="anchor-link"
            href="#xzy"
            title="Permalink to vec3.xzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xzy =&gt; new vec3(x, z, y);
</pre>
<pre class="source">
set xzy(vec3 arg) {
 x = arg.x;
 z = arg.y;
 y = arg.z;
}
</pre>
</div>
</div>
<div class="field"><h4 id="xzyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzyx</strong> <a class="anchor-link"
            href="#xzyx"
            title="Permalink to vec3.xzyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzyx =&gt; new vec4(x, z, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xzyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzyy</strong> <a class="anchor-link"
            href="#xzyy"
            title="Permalink to vec3.xzyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzyy =&gt; new vec4(x, z, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xzyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzyz</strong> <a class="anchor-link"
            href="#xzyz"
            title="Permalink to vec3.xzyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzyz =&gt; new vec4(x, z, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>xzz</strong> <a class="anchor-link"
            href="#xzz"
            title="Permalink to vec3.xzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get xzz =&gt; new vec3(x, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="xzzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzzx</strong> <a class="anchor-link"
            href="#xzzx"
            title="Permalink to vec3.xzzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzzx =&gt; new vec4(x, z, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="xzzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzzy</strong> <a class="anchor-link"
            href="#xzzy"
            title="Permalink to vec3.xzzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzzy =&gt; new vec4(x, z, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="xzzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>xzzz</strong> <a class="anchor-link"
            href="#xzzz"
            title="Permalink to vec3.xzzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get xzzz =&gt; new vec4(x, z, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="y">
<button class="show-code">Code</button>
double         <strong>y</strong> <a class="anchor-link"
            href="#y"
            title="Permalink to vec3.y">#</a>
        </h4>
        <div class="doc">
<pre class="source">
y
</pre>
</div>
</div>
<div class="field"><h4 id="yx">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>yx</strong> <a class="anchor-link"
            href="#yx"
            title="Permalink to vec3.yx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get yx =&gt; new vec2(y, x);
</pre>
<pre class="source">
set yx(vec2 arg) {
 y = arg.x;
 x = arg.y;
}
</pre>
</div>
</div>
<div class="field"><h4 id="yxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>yxx</strong> <a class="anchor-link"
            href="#yxx"
            title="Permalink to vec3.yxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yxx =&gt; new vec3(y, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yxxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxxx</strong> <a class="anchor-link"
            href="#yxxx"
            title="Permalink to vec3.yxxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxxx =&gt; new vec4(y, x, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yxxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxxy</strong> <a class="anchor-link"
            href="#yxxy"
            title="Permalink to vec3.yxxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxxy =&gt; new vec4(y, x, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yxxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxxz</strong> <a class="anchor-link"
            href="#yxxz"
            title="Permalink to vec3.yxxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxxz =&gt; new vec4(y, x, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>yxy</strong> <a class="anchor-link"
            href="#yxy"
            title="Permalink to vec3.yxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yxy =&gt; new vec3(y, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yxyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxyx</strong> <a class="anchor-link"
            href="#yxyx"
            title="Permalink to vec3.yxyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxyx =&gt; new vec4(y, x, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yxyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxyy</strong> <a class="anchor-link"
            href="#yxyy"
            title="Permalink to vec3.yxyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxyy =&gt; new vec4(y, x, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yxyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxyz</strong> <a class="anchor-link"
            href="#yxyz"
            title="Permalink to vec3.yxyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxyz =&gt; new vec4(y, x, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yxz">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>yxz</strong> <a class="anchor-link"
            href="#yxz"
            title="Permalink to vec3.yxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yxz =&gt; new vec3(y, x, z);
</pre>
<pre class="source">
set yxz(vec3 arg) {
 y = arg.x;
 x = arg.y;
 z = arg.z;
}
</pre>
</div>
</div>
<div class="field"><h4 id="yxzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxzx</strong> <a class="anchor-link"
            href="#yxzx"
            title="Permalink to vec3.yxzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxzx =&gt; new vec4(y, x, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yxzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxzy</strong> <a class="anchor-link"
            href="#yxzy"
            title="Permalink to vec3.yxzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxzy =&gt; new vec4(y, x, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yxzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yxzz</strong> <a class="anchor-link"
            href="#yxzz"
            title="Permalink to vec3.yxzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yxzz =&gt; new vec4(y, x, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>yy</strong> <a class="anchor-link"
            href="#yy"
            title="Permalink to vec3.yy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get yy =&gt; new vec2(y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>yyx</strong> <a class="anchor-link"
            href="#yyx"
            title="Permalink to vec3.yyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yyx =&gt; new vec3(y, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yyxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyxx</strong> <a class="anchor-link"
            href="#yyxx"
            title="Permalink to vec3.yyxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyxx =&gt; new vec4(y, y, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yyxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyxy</strong> <a class="anchor-link"
            href="#yyxy"
            title="Permalink to vec3.yyxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyxy =&gt; new vec4(y, y, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yyxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyxz</strong> <a class="anchor-link"
            href="#yyxz"
            title="Permalink to vec3.yyxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyxz =&gt; new vec4(y, y, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>yyy</strong> <a class="anchor-link"
            href="#yyy"
            title="Permalink to vec3.yyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yyy =&gt; new vec3(y, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yyyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyyx</strong> <a class="anchor-link"
            href="#yyyx"
            title="Permalink to vec3.yyyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyyx =&gt; new vec4(y, y, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yyyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyyy</strong> <a class="anchor-link"
            href="#yyyy"
            title="Permalink to vec3.yyyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyyy =&gt; new vec4(y, y, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yyyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyyz</strong> <a class="anchor-link"
            href="#yyyz"
            title="Permalink to vec3.yyyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyyz =&gt; new vec4(y, y, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>yyz</strong> <a class="anchor-link"
            href="#yyz"
            title="Permalink to vec3.yyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yyz =&gt; new vec3(y, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yyzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyzx</strong> <a class="anchor-link"
            href="#yyzx"
            title="Permalink to vec3.yyzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyzx =&gt; new vec4(y, y, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yyzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyzy</strong> <a class="anchor-link"
            href="#yyzy"
            title="Permalink to vec3.yyzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyzy =&gt; new vec4(y, y, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yyzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yyzz</strong> <a class="anchor-link"
            href="#yyzz"
            title="Permalink to vec3.yyzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yyzz =&gt; new vec4(y, y, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yz">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>yz</strong> <a class="anchor-link"
            href="#yz"
            title="Permalink to vec3.yz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get yz =&gt; new vec2(y, z);
</pre>
<pre class="source">
set yz(vec2 arg) {
 y = arg.x;
 z = arg.y;
}
</pre>
</div>
</div>
<div class="field"><h4 id="yzx">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>yzx</strong> <a class="anchor-link"
            href="#yzx"
            title="Permalink to vec3.yzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yzx =&gt; new vec3(y, z, x);
</pre>
<pre class="source">
set yzx(vec3 arg) {
 y = arg.x;
 z = arg.y;
 x = arg.z;
}
</pre>
</div>
</div>
<div class="field"><h4 id="yzxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzxx</strong> <a class="anchor-link"
            href="#yzxx"
            title="Permalink to vec3.yzxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzxx =&gt; new vec4(y, z, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yzxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzxy</strong> <a class="anchor-link"
            href="#yzxy"
            title="Permalink to vec3.yzxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzxy =&gt; new vec4(y, z, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yzxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzxz</strong> <a class="anchor-link"
            href="#yzxz"
            title="Permalink to vec3.yzxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzxz =&gt; new vec4(y, z, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>yzy</strong> <a class="anchor-link"
            href="#yzy"
            title="Permalink to vec3.yzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yzy =&gt; new vec3(y, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yzyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzyx</strong> <a class="anchor-link"
            href="#yzyx"
            title="Permalink to vec3.yzyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzyx =&gt; new vec4(y, z, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yzyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzyy</strong> <a class="anchor-link"
            href="#yzyy"
            title="Permalink to vec3.yzyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzyy =&gt; new vec4(y, z, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yzyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzyz</strong> <a class="anchor-link"
            href="#yzyz"
            title="Permalink to vec3.yzyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzyz =&gt; new vec4(y, z, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>yzz</strong> <a class="anchor-link"
            href="#yzz"
            title="Permalink to vec3.yzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get yzz =&gt; new vec3(y, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="yzzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzzx</strong> <a class="anchor-link"
            href="#yzzx"
            title="Permalink to vec3.yzzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzzx =&gt; new vec4(y, z, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="yzzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzzy</strong> <a class="anchor-link"
            href="#yzzy"
            title="Permalink to vec3.yzzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzzy =&gt; new vec4(y, z, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="yzzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>yzzz</strong> <a class="anchor-link"
            href="#yzzz"
            title="Permalink to vec3.yzzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get yzzz =&gt; new vec4(y, z, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="z">
<button class="show-code">Code</button>
double         <strong>z</strong> <a class="anchor-link"
            href="#z"
            title="Permalink to vec3.z">#</a>
        </h4>
        <div class="doc">
<pre class="source">
z
</pre>
</div>
</div>
<div class="field"><h4 id="zx">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>zx</strong> <a class="anchor-link"
            href="#zx"
            title="Permalink to vec3.zx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get zx =&gt; new vec2(z, x);
</pre>
<pre class="source">
set zx(vec2 arg) {
 z = arg.x;
 x = arg.y;
}
</pre>
</div>
</div>
<div class="field"><h4 id="zxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>zxx</strong> <a class="anchor-link"
            href="#zxx"
            title="Permalink to vec3.zxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zxx =&gt; new vec3(z, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zxxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxxx</strong> <a class="anchor-link"
            href="#zxxx"
            title="Permalink to vec3.zxxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxxx =&gt; new vec4(z, x, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zxxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxxy</strong> <a class="anchor-link"
            href="#zxxy"
            title="Permalink to vec3.zxxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxxy =&gt; new vec4(z, x, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zxxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxxz</strong> <a class="anchor-link"
            href="#zxxz"
            title="Permalink to vec3.zxxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxxz =&gt; new vec4(z, x, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zxy">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>zxy</strong> <a class="anchor-link"
            href="#zxy"
            title="Permalink to vec3.zxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zxy =&gt; new vec3(z, x, y);
</pre>
<pre class="source">
set zxy(vec3 arg) {
 z = arg.x;
 x = arg.y;
 y = arg.z;
}
</pre>
</div>
</div>
<div class="field"><h4 id="zxyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxyx</strong> <a class="anchor-link"
            href="#zxyx"
            title="Permalink to vec3.zxyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxyx =&gt; new vec4(z, x, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zxyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxyy</strong> <a class="anchor-link"
            href="#zxyy"
            title="Permalink to vec3.zxyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxyy =&gt; new vec4(z, x, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zxyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxyz</strong> <a class="anchor-link"
            href="#zxyz"
            title="Permalink to vec3.zxyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxyz =&gt; new vec4(z, x, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>zxz</strong> <a class="anchor-link"
            href="#zxz"
            title="Permalink to vec3.zxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zxz =&gt; new vec3(z, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zxzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxzx</strong> <a class="anchor-link"
            href="#zxzx"
            title="Permalink to vec3.zxzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxzx =&gt; new vec4(z, x, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zxzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxzy</strong> <a class="anchor-link"
            href="#zxzy"
            title="Permalink to vec3.zxzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxzy =&gt; new vec4(z, x, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zxzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zxzz</strong> <a class="anchor-link"
            href="#zxzz"
            title="Permalink to vec3.zxzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zxzz =&gt; new vec4(z, x, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zy">
<button class="show-code">Code</button>
<a href="../vector_math/vec2.html">vec2</a>         <strong>zy</strong> <a class="anchor-link"
            href="#zy"
            title="Permalink to vec3.zy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get zy =&gt; new vec2(z, y);
</pre>
<pre class="source">
set zy(vec2 arg) {
 z = arg.x;
 y = arg.y;
}
</pre>
</div>
</div>
<div class="field"><h4 id="zyx">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a>         <strong>zyx</strong> <a class="anchor-link"
            href="#zyx"
            title="Permalink to vec3.zyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zyx =&gt; new vec3(z, y, x);
</pre>
<pre class="source">
set zyx(vec3 arg) {
 z = arg.x;
 y = arg.y;
 x = arg.z;
}
</pre>
</div>
</div>
<div class="field"><h4 id="zyxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyxx</strong> <a class="anchor-link"
            href="#zyxx"
            title="Permalink to vec3.zyxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyxx =&gt; new vec4(z, y, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zyxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyxy</strong> <a class="anchor-link"
            href="#zyxy"
            title="Permalink to vec3.zyxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyxy =&gt; new vec4(z, y, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zyxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyxz</strong> <a class="anchor-link"
            href="#zyxz"
            title="Permalink to vec3.zyxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyxz =&gt; new vec4(z, y, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>zyy</strong> <a class="anchor-link"
            href="#zyy"
            title="Permalink to vec3.zyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zyy =&gt; new vec3(z, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zyyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyyx</strong> <a class="anchor-link"
            href="#zyyx"
            title="Permalink to vec3.zyyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyyx =&gt; new vec4(z, y, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zyyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyyy</strong> <a class="anchor-link"
            href="#zyyy"
            title="Permalink to vec3.zyyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyyy =&gt; new vec4(z, y, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zyyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyyz</strong> <a class="anchor-link"
            href="#zyyz"
            title="Permalink to vec3.zyyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyyz =&gt; new vec4(z, y, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>zyz</strong> <a class="anchor-link"
            href="#zyz"
            title="Permalink to vec3.zyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zyz =&gt; new vec3(z, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zyzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyzx</strong> <a class="anchor-link"
            href="#zyzx"
            title="Permalink to vec3.zyzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyzx =&gt; new vec4(z, y, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zyzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyzy</strong> <a class="anchor-link"
            href="#zyzy"
            title="Permalink to vec3.zyzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyzy =&gt; new vec4(z, y, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zyzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zyzz</strong> <a class="anchor-link"
            href="#zyzz"
            title="Permalink to vec3.zyzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zyzz =&gt; new vec4(z, y, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec2.html">vec2</a>         <strong>zz</strong> <a class="anchor-link"
            href="#zz"
            title="Permalink to vec3.zz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec2 get zz =&gt; new vec2(z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>zzx</strong> <a class="anchor-link"
            href="#zzx"
            title="Permalink to vec3.zzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zzx =&gt; new vec3(z, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zzxx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzxx</strong> <a class="anchor-link"
            href="#zzxx"
            title="Permalink to vec3.zzxx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzxx =&gt; new vec4(z, z, x, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zzxy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzxy</strong> <a class="anchor-link"
            href="#zzxy"
            title="Permalink to vec3.zzxy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzxy =&gt; new vec4(z, z, x, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zzxz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzxz</strong> <a class="anchor-link"
            href="#zzxz"
            title="Permalink to vec3.zzxz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzxz =&gt; new vec4(z, z, x, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>zzy</strong> <a class="anchor-link"
            href="#zzy"
            title="Permalink to vec3.zzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zzy =&gt; new vec3(z, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zzyx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzyx</strong> <a class="anchor-link"
            href="#zzyx"
            title="Permalink to vec3.zzyx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzyx =&gt; new vec4(z, z, y, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zzyy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzyy</strong> <a class="anchor-link"
            href="#zzyy"
            title="Permalink to vec3.zzyy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzyy =&gt; new vec4(z, z, y, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zzyz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzyz</strong> <a class="anchor-link"
            href="#zzyz"
            title="Permalink to vec3.zzyz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzyz =&gt; new vec4(z, z, y, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec3.html">vec3</a>         <strong>zzz</strong> <a class="anchor-link"
            href="#zzz"
            title="Permalink to vec3.zzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec3 get zzz =&gt; new vec3(z, z, z);
</pre>
</div>
</div>
<div class="field"><h4 id="zzzx">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzzx</strong> <a class="anchor-link"
            href="#zzzx"
            title="Permalink to vec3.zzzx">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzzx =&gt; new vec4(z, z, z, x);
</pre>
</div>
</div>
<div class="field"><h4 id="zzzy">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzzy</strong> <a class="anchor-link"
            href="#zzzy"
            title="Permalink to vec3.zzzy">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzzy =&gt; new vec4(z, z, z, y);
</pre>
</div>
</div>
<div class="field"><h4 id="zzzz">
<button class="show-code">Code</button>
final <a href="../vector_math/vec4.html">vec4</a>         <strong>zzzz</strong> <a class="anchor-link"
            href="#zzzz"
            title="Permalink to vec3.zzzz">#</a>
        </h4>
        <div class="doc">
<pre class="source">
vec4 get zzzz =&gt; new vec4(z, z, z, z);
</pre>
</div>
</div>
</div>
<div>
<h3>Operators</h3>
<div class="method"><h4 id="[]">
<button class="show-code">Code</button>
double <strong>operator []</strong>(int i) <a class="anchor-link" href="#[]"
              title="Permalink to vec3.operator []">#</a></h4>
<div class="doc">
<p>Returns a component from vec3. This is indexed as an array with 
<span class="param">i</span></p>
<pre class="source">
double operator[](int i) {
 assert(i &gt;= 0 &amp;&amp; i &lt; 3);
 switch (i) {
   case 0: return x;
   case 1: return y;
   case 2: return z;
 };
 return 0.0;
}
</pre>
</div>
</div>
<div class="method"><h4 id="[]=">
<button class="show-code">Code</button>
void <strong>operator []=</strong>(int i, double v) <a class="anchor-link" href="#[]="
              title="Permalink to vec3.operator []=">#</a></h4>
<div class="doc">
<p>Assigns a component in vec3 the value in 
<span class="param">v</span>. This is indexed as an array with 
<span class="param">i</span></p>
<pre class="source">
void operator[]=(int i, double v) {
 assert(i &gt;= 0 &amp;&amp; i &lt; 3);
 switch (i) {
   case 0: x = v; break;
   case 1: y = v; break;
   case 2: z = v; break;
 };
}
</pre>
</div>
</div>
<div class="method"><h4 id="+">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>operator +</strong>(<a href="../vector_math/vec3.html">vec3</a> other) <a class="anchor-link" href="#+"
              title="Permalink to vec3.operator +">#</a></h4>
<div class="doc">
<p>Returns a new vec3 from this + 
<span class="param">other</span></p>
<pre class="source">
vec3 operator+(vec3 other) =&gt; new vec3.raw(x + other.x, y + other.y, z + other.z);
</pre>
</div>
</div>
<div class="method"><h4 id="unary-">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>operator -</strong>() <a class="anchor-link" href="#unary-"
              title="Permalink to vec3.operator -">#</a></h4>
<div class="doc">
<p>Returns a new vec3 from -this</p>
<pre class="source">
vec3 operator-() =&gt; new vec3.raw(-x, -y, -z);
</pre>
</div>
</div>
<div class="method"><h4 id="-">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>operator -</strong>(<a href="../vector_math/vec3.html">vec3</a> other) <a class="anchor-link" href="#-"
              title="Permalink to vec3.operator -">#</a></h4>
<div class="doc">
<p>Returns a new vec3 from this - 
<span class="param">other</span></p>
<pre class="source">
vec3 operator-(vec3 other) =&gt; new vec3.raw(x - other.x, y - other.y, z - other.z);
</pre>
</div>
</div>
<div class="method"><h4 id="*">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>operator *</strong>(other) <a class="anchor-link" href="#*"
              title="Permalink to vec3.operator *">#</a></h4>
<div class="doc">
<p>Returns a new vec3 scaled by 
<span class="param">other</span></p>
<pre class="source">
vec3 operator*(dynamic other) {
 if (other is num) {
   var o = other.toDouble();
   return new vec3.raw(x * o, y * o, z * o);
 }
 if (other is vec3) {
   return new vec3.raw(x * other.x, y * other.y, z * other.z);
 }
}
</pre>
</div>
</div>
<div class="method"><h4 id="/">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>operator /</strong>(other) <a class="anchor-link" href="#/"
              title="Permalink to vec3.operator /">#</a></h4>
<div class="doc">
<p>Returns a new vec3 divided by 
<span class="param">other</span></p>
<pre class="source">
vec3 operator/(dynamic other) {
 if (other is num) {
   var o = 1.0 / other.toDouble();
   return new vec3.raw(x * o, y * o, z * o);
 }
 if (other is vec3) {
   return new vec3.raw(x / other.x, y / other.y, z / other.z);
 }
}
</pre>
</div>
</div>
</div>
<div>
<h3>Methods</h3>
<div class="method"><h4 id="absolute">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>absolute</strong>() <a class="anchor-link" href="#absolute"
              title="Permalink to vec3.absolute">#</a></h4>
<div class="doc">
<pre class="source">
vec3 absolute() {
 x = x.abs();
 y = y.abs();
 z = z.abs();
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="absoluteError">
<button class="show-code">Code</button>
double <strong>absoluteError</strong>(<a href="../vector_math/vec3.html">vec3</a> correct) <a class="anchor-link" href="#absoluteError"
              title="Permalink to vec3.absoluteError">#</a></h4>
<div class="doc">
<p>Returns the absolute error between <code>this</code> and 
<span class="param">correct</span></p>
<pre class="source">
double absoluteError(vec3 correct) {
 return (this - correct).length;
}
</pre>
</div>
</div>
<div class="method"><h4 id="add">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>add</strong>(<a href="../vector_math/vec3.html">vec3</a> arg) <a class="anchor-link" href="#add"
              title="Permalink to vec3.add">#</a></h4>
<div class="doc">
<pre class="source">
vec3 add(vec3 arg) {
 x = x + arg.x;
 y = y + arg.y;
 z = z + arg.z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="clone">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>clone</strong>() <a class="anchor-link" href="#clone"
              title="Permalink to vec3.clone">#</a></h4>
<div class="doc">
<pre class="source">
vec3 clone() {
 return new vec3.copy(this);
}
</pre>
</div>
</div>
<div class="method"><h4 id="copyFrom">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>copyFrom</strong>(<a href="../vector_math/vec3.html">vec3</a> arg) <a class="anchor-link" href="#copyFrom"
              title="Permalink to vec3.copyFrom">#</a></h4>
<div class="doc">
<pre class="source">
vec3 copyFrom(vec3 arg) {
 x = arg.x;
 y = arg.y;
 z = arg.z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="copyFromArray">
<button class="show-code">Code</button>
void <strong>copyFromArray</strong>(List&lt;num&gt; array, [int offset = 0]) <a class="anchor-link" href="#copyFromArray"
              title="Permalink to vec3.copyFromArray">#</a></h4>
<div class="doc">
<p>Copies elements from 
<span class="param">array</span> into <code>this</code> starting at 
<span class="param">offset</span>.</p>
<pre class="source">
void copyFromArray(List&lt;num&gt; array, [int offset=0]) {
 int i = offset;
 x = array[i].toDouble();
 i++;
 y = array[i].toDouble();
 i++;
 z = array[i].toDouble();
 i++;
}
</pre>
</div>
</div>
<div class="method"><h4 id="copyInto">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>copyInto</strong>(<a href="../vector_math/vec3.html">vec3</a> arg) <a class="anchor-link" href="#copyInto"
              title="Permalink to vec3.copyInto">#</a></h4>
<div class="doc">
<pre class="source">
vec3 copyInto(vec3 arg) {
 arg.x = x;
 arg.y = y;
 arg.z = z;
 return arg;
}
</pre>
</div>
</div>
<div class="method"><h4 id="copyIntoArray">
<button class="show-code">Code</button>
void <strong>copyIntoArray</strong>(List&lt;num&gt; array, [int offset = 0]) <a class="anchor-link" href="#copyIntoArray"
              title="Permalink to vec3.copyIntoArray">#</a></h4>
<div class="doc">
<p>Copies <code>this</code> into 
<span class="param">array</span> starting at 
<span class="param">offset</span>.</p>
<pre class="source">
void copyIntoArray(List&lt;num&gt; array, [int offset=0]) {
 int i = offset;
 array[i] = x;
 i++;
 array[i] = y;
 i++;
 array[i] = z;
 i++;
}
</pre>
</div>
</div>
<div class="method"><h4 id="cross">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>cross</strong>(<a href="../vector_math/vec3.html">vec3</a> other, [<a href="../vector_math/vec3.html">vec3</a> out = null]) <a class="anchor-link" href="#cross"
              title="Permalink to vec3.cross">#</a></h4>
<div class="doc">
<p>Returns the cross product of <code>this</code> and 
<span class="param">other</span>, optionally pass in output storage 
<span class="param">out</span></p>
<pre class="source">
vec3 cross(vec3 other, [vec3 out=null]) {
 if (out == null) {
   out = new vec3.zero();
 }
 out.x = y * other.z - z * other.y;
 out.y = z * other.x - x * other.z;
 out.z = x * other.y - y * other.x;
 return out;
}
</pre>
</div>
</div>
<div class="method"><h4 id="div">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>div</strong>(<a href="../vector_math/vec3.html">vec3</a> arg) <a class="anchor-link" href="#div"
              title="Permalink to vec3.div">#</a></h4>
<div class="doc">
<pre class="source">
vec3 div(vec3 arg) {
 x = x / arg.x;
 y = y / arg.y;
 z = z / arg.z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="dot">
<button class="show-code">Code</button>
double <strong>dot</strong>(<a href="../vector_math/vec3.html">vec3</a> other) <a class="anchor-link" href="#dot"
              title="Permalink to vec3.dot">#</a></h4>
<div class="doc">
<p>Returns the dot product of <code>this</code> and 
<span class="param">other</span></p>
<pre class="source">
double dot(vec3 other) {
 double sum = 0.0;
 sum += (x * other.x);
 sum += (y * other.y);
 sum += (z * other.z);
 return sum;
}
</pre>
</div>
</div>
<div class="method"><h4 id="makeCopy">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>makeCopy</strong>(<a href="../vector_math/vec3.html">vec3</a> other) <a class="anchor-link" href="#makeCopy"
              title="Permalink to vec3.makeCopy">#</a></h4>
<div class="doc">
<p>Make <code>this</code> a copy of [other] [other].</p>
<pre class="source">
vec3 makeCopy(vec3 other) {
 x = other.x;
 y = other.y;
 z = other.z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="makeRaw">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>makeRaw</strong>(num x_, num y_, num z_) <a class="anchor-link" href="#makeRaw"
              title="Permalink to vec3.makeRaw">#</a></h4>
<div class="doc">
<p>Components of <code>this</code> are set to the passed in values.</p>
<pre class="source">
vec3 makeRaw(num x_, num y_, num z_) {
 x = x_.toDouble();
 y = y_.toDouble();
 z = z_.toDouble();
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="makeZero">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>makeZero</strong>() <a class="anchor-link" href="#makeZero"
              title="Permalink to vec3.makeZero">#</a></h4>
<div class="doc">
<p>Make <code>this</code> the zero vector.</p>
<pre class="source">
vec3 makeZero() {
 x = 0.0;
 y = 0.0;
 z = 0.0;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="multiply">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>multiply</strong>(<a href="../vector_math/vec3.html">vec3</a> arg) <a class="anchor-link" href="#multiply"
              title="Permalink to vec3.multiply">#</a></h4>
<div class="doc">
<pre class="source">
vec3 multiply(vec3 arg) {
 x = x * arg.x;
 y = y * arg.y;
 z = z * arg.z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="negate">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>negate</strong>() <a class="anchor-link" href="#negate"
              title="Permalink to vec3.negate">#</a></h4>
<div class="doc">
<pre class="source">
vec3 negate() {
 x = -x;
 y = -y;
 z = -z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="normalize">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>normalize</strong>() <a class="anchor-link" href="#normalize"
              title="Permalink to vec3.normalize">#</a></h4>
<div class="doc">
<p>Normalizes <code>this</code>. Returns <code>this</code>.</p>
<pre class="source">
vec3 normalize() {
 double l = length;
 if (l == 0.0) {
   return this;
 }
 x /= l;
 y /= l;
 z /= l;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="normalized">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>normalized</strong>([<a href="../vector_math/vec3.html">vec3</a> out = null]) <a class="anchor-link" href="#normalized"
              title="Permalink to vec3.normalized">#</a></h4>
<div class="doc">
<p>Normalizes <code>this</code> returns new vector or optional 
<span class="param">out</span></p>
<pre class="source">
vec3 normalized([vec3 out = null]) {
 if (out == null) {
   out = new vec3.raw(x, y, z);
 }
 double l = out.length;
 if (l == 0.0) {
   return out;
 }
 out.x /= l;
 out.y /= l;
 out.z /= l;
 return out;
}
</pre>
</div>
</div>
<div class="method"><h4 id="normalizeLength">
<button class="show-code">Code</button>
double <strong>normalizeLength</strong>() <a class="anchor-link" href="#normalizeLength"
              title="Permalink to vec3.normalizeLength">#</a></h4>
<div class="doc">
<p>Normalizes <code>this</code>. Returns length.</p>
<pre class="source">
double normalizeLength() {
 double l = length;
 if (l == 0.0) {
   return 0.0;
 }
 x /= l;
 y /= l;
 z /= l;
 return l;
}
</pre>
</div>
</div>
<div class="method"><h4 id="relativeError">
<button class="show-code">Code</button>
double <strong>relativeError</strong>(<a href="../vector_math/vec3.html">vec3</a> correct) <a class="anchor-link" href="#relativeError"
              title="Permalink to vec3.relativeError">#</a></h4>
<div class="doc">
<p>Returns the relative error between <code>this</code> and 
<span class="param">correct</span></p>
<pre class="source">
double relativeError(vec3 correct) {
 double correct_norm = correct.length;
 double diff_norm = (this - correct).length;
 return diff_norm/correct_norm;
}
</pre>
</div>
</div>
<div class="method"><h4 id="scale">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>scale</strong>(num arg) <a class="anchor-link" href="#scale"
              title="Permalink to vec3.scale">#</a></h4>
<div class="doc">
<pre class="source">
vec3 scale(num arg) {
 double a = arg.toDouble();
 x = x * a;
 y = y * a;
 z = z * a;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="scaled">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>scaled</strong>(num arg) <a class="anchor-link" href="#scaled"
              title="Permalink to vec3.scaled">#</a></h4>
<div class="doc">
<pre class="source">
vec3 scaled(num arg) {
 return clone().scale(arg);
}
</pre>
</div>
</div>
<div class="method"><h4 id="set">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>set</strong>(<a href="../vector_math/vec3.html">vec3</a> arg) <a class="anchor-link" href="#set"
              title="Permalink to vec3.set">#</a></h4>
<div class="doc">
<pre class="source">
vec3 set(vec3 arg) {
 x = arg.x;
 y = arg.y;
 z = arg.z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="setComponents">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>setComponents</strong>(num x_, num y_, num z_) <a class="anchor-link" href="#setComponents"
              title="Permalink to vec3.setComponents">#</a></h4>
<div class="doc">
<pre class="source">
vec3 setComponents(num x_, num y_, num z_) {
 x = x_.toDouble();
 y = y_.toDouble();
 z = z_.toDouble();
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="splat">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>splat</strong>(num arg) <a class="anchor-link" href="#splat"
              title="Permalink to vec3.splat">#</a></h4>
<div class="doc">
<p>Splats a scalar into all lanes of the vector.</p>
<pre class="source">
vec3 splat(num arg) {
 double a = arg.toDouble();
 x = a;
 y = a;
 z = a;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="sub">
<button class="show-code">Code</button>
<a href="../vector_math/vec3.html">vec3</a> <strong>sub</strong>(<a href="../vector_math/vec3.html">vec3</a> arg) <a class="anchor-link" href="#sub"
              title="Permalink to vec3.sub">#</a></h4>
<div class="doc">
<pre class="source">
vec3 sub(vec3 arg) {
 x = x - arg.x;
 y = y - arg.y;
 z = z - arg.z;
 return this;
}
</pre>
</div>
</div>
<div class="method"><h4 id="toString">
<button class="show-code">Code</button>
String <strong>toString</strong>() <a class="anchor-link" href="#toString"
              title="Permalink to vec3.toString">#</a></h4>
<div class="doc">
<p>Returns a printable string</p>
<pre class="source">
String toString() =&gt; '$x,$y,$z';
</pre>
</div>
</div>
</div>
        </div>
        <div class="clear"></div>
        </div>
        <div class="footer">
          
        </div>
        <script async src="../client-live-nav.js"></script>
        </body></html>
        
